Skip to content

Commit

Permalink
Fix Jaeger ports for HTTP tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 authored Dec 19, 2024
1 parent d5ccc1e commit d3c2b23
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docker-compose/jaeger/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3c2b23

Please sign in to comment.