From 19dd2d1662d311ea8b3beefaaa054c70ee6edaeb Mon Sep 17 00:00:00 2001 From: Elton Minetto Date: Fri, 7 Apr 2023 08:53:06 -0300 Subject: [PATCH] fix: otel pkg --- docker-compose.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 20ab5cb..583dfc7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 @@ -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 @@ -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 @@ -110,6 +113,7 @@ services: image: jaegertracing/all-in-one container_name: jaeger command: + - "--log-level=debug" - "--memory.max-traces" - "10000" - "--query.base-path" @@ -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