diff --git a/docker-compose/jaeger/docker-compose.yaml b/docker-compose/jaeger/docker-compose.yaml index d544bb040..9695a2801 100644 --- a/docker-compose/jaeger/docker-compose.yaml +++ b/docker-compose/jaeger/docker-compose.yaml @@ -18,8 +18,8 @@ services: - '0.0.0.0:16686:16686' # Collector port - '0.0.0.0:14250:14250' - - '0.0.0.0:4320:4320' # gRPC port - - '0.0.0.0:4321:4321' # HTTP port + - '0.0.0.0:4320:4320' # gRPC + - '0.0.0.0:4321:4321' # HTTP # Agent ports - '0.0.0.0:5778:5778' - '0.0.0.0:6831:6831' @@ -27,18 +27,20 @@ services: networks: - sourcegraph restart: always - command: ['--memory.max-traces=20000', "--sampling.strategies-file=/etc/jaeger/sampling_strategies.json", "--collector.otlp.enabled" ] - environment: - - 'SAMPLING_STRATEGIES_FILE=/etc/jaeger/sampling_strategies.json' - - 'COLLECTOR_OTLP_ENABLED=true' - - 'JAEGER_OTLP_GRPC_PORT=4320' - - 'JAEGER_OTLP_HTTP_PORT=4321' + command: [ + '--memory.max-traces=20000', + "--sampling.strategies-file=/etc/jaeger/sampling_strategies.json", + "--collector.otlp.enabled", + "--collector.otlp.grpc.host-port=:4320", + "--collector.otlp.http.host-port=:4321" + ] # Configure collector to send traces to Jaeger otel-collector: environment: - JAEGER_HOST=jaeger - JAEGER_OTLP_GRPC_PORT=4320 + - JAEGER_OTLP_HTTP_PORT=4321 command: ['--config', '/etc/otel-collector/configs/jaeger.yaml'] # Let frontend proxy to Jaeger interface