Skip to content

Commit d3c2b23

Browse files
authored
Fix Jaeger ports for HTTP tracing
1 parent d5ccc1e commit d3c2b23

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docker-compose/jaeger/docker-compose.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,20 @@ services:
2727
networks:
2828
- sourcegraph
2929
restart: always
30-
command: ['--memory.max-traces=20000', "--sampling.strategies-file=/etc/jaeger/sampling_strategies.json", "--collector.otlp.enabled" ]
31-
environment:
32-
- 'SAMPLING_STRATEGIES_FILE=/etc/jaeger/sampling_strategies.json'
33-
- 'COLLECTOR_OTLP_ENABLED=true'
34-
- 'JAEGER_OTLP_GRPC_PORT=4320'
35-
- 'JAEGER_OTLP_HTTP_PORT=4321'
30+
command: [
31+
'--memory.max-traces=20000',
32+
"--sampling.strategies-file=/etc/jaeger/sampling_strategies.json",
33+
"--collector.otlp.enabled",
34+
"--collector.otlp.grpc.host-port=:4320",
35+
"--collector.otlp.http.host-port=:4321"
36+
]
3637

3738
# Configure collector to send traces to Jaeger
3839
otel-collector:
3940
environment:
4041
- JAEGER_HOST=jaeger
4142
- JAEGER_OTLP_GRPC_PORT=4320
43+
- JAEGER_OTLP_HTTP_PORT=4321
4244
command: ['--config', '/etc/otel-collector/configs/jaeger.yaml']
4345

4446
# Let frontend proxy to Jaeger interface

0 commit comments

Comments
 (0)