File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -4,35 +4,41 @@ services:
44 # (https://www.jaegertracing.io/docs/1.17/getting-started/#all-in-one) for distributed tracing.
55 #
66 # Disk: none
7- # Ports exposed to other Sourcegraph services: 5778/TCP 6831/UDP 6832/UDP 14250/TCP
7+ # Ports exposed to other Sourcegraph services: 5778/TCP 6831/UDP 6832/UDP 14250/TCP 4320/UDP 4321/UDP
88 # Ports exposed to the public internet: none
99 # Ports exposed to site admins only: 16686/HTTP
1010 #
1111 jaeger :
1212 container_name : jaeger
13- image : ' index.docker.io/sourcegraph/jaeger-all-in-one:216430_2023-05-02_5.0-3cc9006de32c @sha256:ec73cff6ea398d96241a9451634fc83682292b0175cc63c09f1f866cf03beb8d '
13+ image : ' index.docker.io/sourcegraph/jaeger-all-in-one:281057_2024-07-04_5.4-b98c7d084d30 @sha256:3ff2c29a456f4b275a46ca413eb38c84ee9df6109460691b13a798aecee038a0 '
1414 cpus : 0.5
1515 mem_limit : ' 512m'
1616 ports :
1717 # Query port
1818 - ' 0.0.0.0:16686:16686'
1919 # Collector port
2020 - ' 0.0.0.0:14250:14250'
21+ - ' 0.0.0.0:4320:4320' # gRPC port
22+ - ' 0.0.0.0:4321:4321' # HTTP port
2123 # Agent ports
2224 - ' 0.0.0.0:5778:5778'
2325 - ' 0.0.0.0:6831:6831'
2426 - ' 0.0.0.0:6832:6832'
2527 networks :
2628 - sourcegraph
2729 restart : always
28- command : ['--memory.max-traces=20000']
30+ command : ['--memory.max-traces=20000', "--sampling.strategies-file=/etc/jaeger/sampling_strategies.json", "--collector.otlp.enabled" ]
2931 environment :
3032 - ' 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'
3136
3237 # Configure collector to send traces to Jaeger
3338 otel-collector :
3439 environment :
3540 - JAEGER_HOST=jaeger
41+ - JAEGER_OTLP_GRPC_PORT=4320
3642 command : ['--config', '/etc/otel-collector/configs/jaeger.yaml']
3743
3844 # Let frontend proxy to Jaeger interface
Original file line number Diff line number Diff line change 44receivers :
55 otlp :
66 protocols :
7- grpc : # port 4317
8- http : # port 4318
7+ grpc : # port 4320
8+ http : # port 4321
99
1010exporters :
1111 # Add your exporter(s) configuration here. For each exporter, make sure it is enabled
You can’t perform that action at this time.
0 commit comments