Skip to content

Commit de6a88b

Browse files
committed
update docker-compose to support jaeger 2.16 config
1 parent 84f69e0 commit de6a88b

1 file changed

Lines changed: 7 additions & 15 deletions

File tree

docker-compose/jaeger/docker-compose.yaml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: '2.4'
22
services:
33
# Description: Jaeger all-in-one instance
4-
# (https://www.jaegertracing.io/docs/1.17/getting-started/#all-in-one) for distributed tracing.
4+
# (https://www.jaegertracing.io/docs/2.16/getting-started/) for distributed tracing.
55
#
66
# Disk: none
7-
# Ports exposed to other Sourcegraph services: 5778/TCP 6831/UDP 6832/UDP 14250/TCP 4317/UDP 4321/UDP
7+
# Ports exposed to other Sourcegraph services: 5778/TCP 4317/TCP 4318/TCP
88
# Ports exposed to the public internet: none
99
# Ports exposed to site admins only: 16686/HTTP
1010
#
@@ -16,23 +16,15 @@ services:
1616
ports:
1717
# Query port
1818
- '0.0.0.0:16686:16686'
19-
# Collector port
20-
- '0.0.0.0:14250:14250'
21-
- '0.0.0.0:4317:4317' # gRPC port
22-
- '0.0.0.0:4321:4321' # HTTP port
23-
# Agent ports
19+
# OTLP ports
20+
- '0.0.0.0:4317:4317' # gRPC
21+
- '0.0.0.0:4318:4318' # HTTP
22+
# Remote sampling
2423
- '0.0.0.0:5778:5778'
25-
- '0.0.0.0:6831:6831'
26-
- '0.0.0.0:6832:6832'
2724
networks:
2825
- sourcegraph
2926
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=4317'
35-
- 'JAEGER_OTLP_HTTP_PORT=4321'
27+
command: ['--config=/etc/jaeger/jaeger-config.yaml']
3628

3729
# Configure collector to send traces to Jaeger
3830
otel-collector:

0 commit comments

Comments
 (0)