1. Two approaches to storage #
Index or no index.
Principle #
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 #
| Criterion | Jaeger | Grafana Tempo |
|---|---|---|
| Storage | Elasticsearch, OpenSearch, Cassandra, Badger | Object storage (S3, GCS, Azure) |
| Cost at high volume | High (index) | Low |
| Search | By service, operation, tags, duration | TraceQL: conditions on spans, structure, aggregates |
| Interface | Dedicated Jaeger interface | Grafana (Explore, Traces Drilldown) |
| Logs / metrics / profiles correlation | Limited | Native in Grafana (exemplars, links to Loki and Pyroscope) |
| Derived metrics | SPM via spanmetrics | Metrics generator (RED, service graph) |
| Adaptive sampling | Yes | Via Collector or Alloy |
| Foundation | OpenTelemetry Collector (v2) | Distributed architecture like Mimir/Loki |
| Governance | CNCF graduated | Grafana Labs (AGPLv3) |
3. Recommendations #
Depending on context.
Choosing #
| Context | Choice |
|---|---|
| Grafana stack (Prometheus, Loki, Mimir) | Tempo: native correlation and low cost |
| Elasticsearch already in operation, moderate volume | Jaeger on Elasticsearch, or Elastic APM |
| Need for a standalone, vendor-neutral tracing interface | Jaeger |
| Very large trace volume, long retention | Tempo |
Good practice: With OpenTelemetry, the choice is not final: a Collector can send the same traces to both during a trial period.
