Jaeger
Jaeger shows traces: each request as a timeline of its spans, across every service it passed through. It takes OTLP itself, so oxtel sends to it directly. It keeps traces only, so metrics and logs go elsewhere: an OpenTelemetry Collector in front can send each kind to its own place.
Run it
Section titled “Run it”One container, keeping traces in memory. The file is in the repository’s examples/backends/jaeger/; run docker compose up -d there.
# Jaeger, for traces: its UI on http://localhost:16686, and OTLP on 4318# (HTTP) and 4317 (gRPC).services: jaeger: image: jaegertracing/jaeger:2.23.0 ports: - "16686:16686" - "4318:4318" - "4317:4317"Send to it
Section titled “Send to it”Set these where your program runs, then start it:
# Jaeger takes traces only, so send just those.export OTEL_SERVICE_NAME=workerexport OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:4318/v1/tracesOpen http://localhost:16686, choose your service, here worker, and find its traces. A trace that crosses services, such as two services, shows both in one timeline.
- Only traces. Setting just the traces endpoint sends traces and nothing else. With
OTEL_EXPORTER_OTLP_ENDPOINTinstead, oxtel would send metrics and logs too, Jaeger would refuse them, and oxtel would warn that sending them fails. - gRPC works too, on port 4317: build with oxtel’s
grpcfeature, setOTEL_EXPORTER_OTLP_PROTOCOL=grpc, and setOTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:4317. - Memory only. This Jaeger forgets everything when it stops. A Jaeger that keeps traces needs a storage backend, which its own documentation covers.
How it’s checked
Section titled “How it’s checked”On every change, CI starts this stack, runs the background worker with these settings, and asks Jaeger’s API for the worker’s four job spans. check.sh, beside the compose file, has the queries.