Jaeger: Distributed Tracing for Request Paths

Jaeger: Distributed Tracing for Request Paths

Jaeger answers a question metrics cannot: for this one slow request, which service took the time.

Tracing is not metrics or logs

The three are complementary and frequently confused.

Metrics tell you the 99th percentile latency rose. Logs tell you what each service recorded. Traces tell you that a single request spent 40ms in the gateway, 12ms in auth, and 2.1 seconds waiting on one database call in a service three hops down.

For a system of more than a couple of services, that last question is close to unanswerable without tracing. Our Grafana and Prometheus guide covers the metrics half and Loki the logs half.

OpenTelemetry is how you feed it

Jaeger accepts OTLP, the OpenTelemetry protocol, which is now the standard way applications emit traces. That matters because instrumentation is the expensive part: instrument against OpenTelemetry and the backend becomes a choice rather than a commitment.

Tempo and SigNoz are the main alternatives, and all three consume the same OTLP spans.

Storage

Jaeger stores spans in Cassandra, Elasticsearch or OpenSearch, with in-memory and Badger options for small deployments.

That storage choice is the main operational decision. Traces are high volume and low value individually, so sampling is not optional at any real scale: keeping 1% of traces plus all the slow ones is the usual configuration.

Where it earns its place

gateway ──▶ auth ──▶ orders ──▶ inventory ──▶ postgres

Any request crossing more than two services. Below that, logs with a correlation ID get you most of the way and cost far less.

Operational caution

Spans can contain sensitive data. Instrumentation that records full URLs, headers or query parameters will put tokens and personal data into your tracing backend, which is usually less protected than your logs. Review what your instrumentation captures.

License

Jaeger is released under the Apache License 2.0.