Skip to content

Commit

Permalink
fix: update jaeger config to use otlp (#246)
Browse files Browse the repository at this point in the history
## This PR

- updated OTel exporter to use OTLP

### Related Issues

Fixes #245 

### Notes

The OTel collector removed support for the Jaeger exporters. The
standard OTLP exporter should be used instead.

Signed-off-by: Michael Beemer <[email protected]>
  • Loading branch information
beeme1mr authored Sep 24, 2023
1 parent cd05029 commit da8bd9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions config/otel/collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ receivers:
exporters:
prometheus:
endpoint: "0.0.0.0:8889"
jaeger:
endpoint: jaeger:14250
otlp/jaeger:
endpoint: jaeger:4317
tls:
insecure: true
processors:
Expand All @@ -16,7 +16,7 @@ service:
traces:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ jaeger ]
exporters: [ otlp/jaeger ]
metrics:
receivers: [ otlp ]
processors: [ batch ]
Expand Down
7 changes: 4 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,15 @@ services:
- CLOUDBEES_APP_KEY

jaeger:
image: jaegertracing/all-in-one:latest
image: jaegertracing/all-in-one:1.49.0
expose:
- '6832/udp'
- '4317'
ports:
- '16686:16686'

otel-collector:
image: otel/opentelemetry-collector-contrib:latest
image: otel/opentelemetry-collector-contrib:0.85.0
restart: always
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
Expand All @@ -96,7 +97,7 @@ services:

prometheus:
container_name: prometheus
image: prom/prometheus:latest
image: prom/prometheus:v2.47.0
restart: always
volumes:
- ./config/prometheus/prometheus.yaml:/etc/prometheus/prometheus.yml
Expand Down

0 comments on commit da8bd9e

Please sign in to comment.