Skip to content

Commit

Permalink
fix: otel pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
eminetto committed Apr 7, 2023
1 parent e829853 commit 19dd2d1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker-compose.yml
Expand Up @@ -60,6 +60,7 @@ services:
DB_DATABASE: "auth_db"
DB_PORT: "3306"
PORT: "8081"
OTEL_EXPORTER_OTLP_ENDPOINT: "${OTEL_EXPORTER_OTLP_ENDPOINT}"
ports:
- "8081:8081"
container_name: auth
Expand All @@ -78,6 +79,7 @@ services:
DB_PORT: "3306"
PORT: "8082"
AUTH_URL: "http://auth:8081"
OTEL_EXPORTER_OTLP_ENDPOINT: "${OTEL_EXPORTER_OTLP_ENDPOINT}"
ports:
- "8082:8082"
container_name: feedbacks
Expand All @@ -96,6 +98,7 @@ services:
DB_PORT: "3306"
PORT: "8083"
AUTH_URL: "http://auth:8081"
OTEL_EXPORTER_OTLP_ENDPOINT: "${OTEL_EXPORTER_OTLP_ENDPOINT}"
ports:
- "8083:8083"
container_name: votes
Expand All @@ -110,6 +113,7 @@ services:
image: jaegertracing/all-in-one
container_name: jaeger
command:
- "--log-level=debug"
- "--memory.max-traces"
- "10000"
- "--query.base-path"
Expand All @@ -122,7 +126,10 @@ services:
memory: 300M
restart: unless-stopped
ports:
- "${JAEGER_SERVICE_PORT}" # Jaeger UI
# - "${JAEGER_SERVICE_PORT}" # Jaeger UI
- "16686:16686"
- "14250:14250"
- "14268:14268" # Jaeger collector
- "4317" # OTLP gRPC default port
environment:
- COLLECTOR_OTLP_ENABLED=true
Expand Down

0 comments on commit 19dd2d1

Please sign in to comment.