I'm trying to get OpenTelemetry container to pass spans along to my Jaeger container, but haven't quite figured out, and can't tell what's wrong, either.
I have confirmed that:
- my app is generating and passing along spans to OTel
- Otel is receiving the spans
But beyond that, I see nothing that might denote that errors are occur during export to Jaeger, but no spans ever appear there. It is also hard to debug as there is a large amount of text output every ten seconds that makes it hard to scroll through and find the important bits.
Running Otel with:
/usr/bin/docker run \
--name oqm_otel \
-p 1888:1888 \
-p 8888:8888 \
-p 8889:8889 \
-p 13133:13133 \
-p 4317:4317 \
-p 4318:4318 \
-p 55679:55679 \
-v /etc/oqm/infra/otel/otel-collector-config.yaml:/etc/otel-collector-config.yaml \
--add-host host.docker.internal:host-gateway \
otel/opentelemetry-collector:0.72.0
Running Jaeger with:
/usr/bin/docker run --name oqm_jaeger -p 8090:16686 -p 8091:14268 -d jaegertracing/all-in-one:1
/etc/oqm/infra/otel/otel-collector-config.yaml
:
# Configuration for OpenTelemetry Collector within the OQM system.
receivers:
otlp:
protocols:
grpc:
endpoint: otel-collector:4317 # What does this do?
exporters:
jaeger:
endpoint: host.docker.internal:8091
tls:
insecure: true
processors:
batch:
extensions:
health_check:
service:
extensions: [health_check]
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [jaeger]
Any ideas?