RousselTMLEARNING

Observability

Grafana Tempo or Jaeger: which tracing backend to choose?

Detailed comparison of Grafana Tempo and Jaeger: architecture, storage, search, query language, sampling, integration with other signals, costs and use cases.

1. Two approaches to storage #

Index or no index.

Principle #

Indexed Jaeger and Tempo on object storage

Jaeger indexes spans in a search database (Elasticsearch, OpenSearch, Cassandra): fast searches by tags, but expensive storage at large scale. Tempo writes traces to object storage in a columnar format (Parquet) without a classic index: very economical, with TraceQL search that scans the blocks.

2. Detailed comparison #

Criterion by criterion.

Table #

CriterionJaegerGrafana Tempo
StorageElasticsearch, OpenSearch, Cassandra, BadgerObject storage (S3, GCS, Azure)
Cost at high volumeHigh (index)Low
SearchBy service, operation, tags, durationTraceQL: conditions on spans, structure, aggregates
InterfaceDedicated Jaeger interfaceGrafana (Explore, Traces Drilldown)
Logs / metrics / profiles correlationLimitedNative in Grafana (exemplars, links to Loki and Pyroscope)
Derived metricsSPM via spanmetricsMetrics generator (RED, service graph)
Adaptive samplingYesVia Collector or Alloy
FoundationOpenTelemetry Collector (v2)Distributed architecture like Mimir/Loki
GovernanceCNCF graduatedGrafana Labs (AGPLv3)

3. Recommendations #

Depending on context.

Choosing #

ContextChoice
Grafana stack (Prometheus, Loki, Mimir)Tempo: native correlation and low cost
Elasticsearch already in operation, moderate volumeJaeger on Elasticsearch, or Elastic APM
Need for a standalone, vendor-neutral tracing interfaceJaeger
Very large trace volume, long retentionTempo
Good practice: With OpenTelemetry, the choice is not final: a Collector can send the same traces to both during a trial period.

Related articles

Distributed tracing with Jaeger: concepts and architecture

The concepts of distributed tracing (trace, span, context, propagation) and Jaeger: its history, its v2 archi…

Installing Jaeger v2: all-in-one, configuration and storage

Run Jaeger v2 as all-in-one, understand its configuration file (jaeger_storage and jaeger_query extensions, O…

Instrumenting applications for Jaeger with OpenTelemetry

Send traces to Jaeger with OpenTelemetry: auto-instrumentation (Java, Python, Node.js), SDK and manual spans,…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!