Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

Tempo storage costs are growing fast. How do you control them?

IntermediateScenarioTracing and OpenTelemetry
Answer

Situation read → Volume, retention and span size all drive cost.

What I'd do →

  1. Measure ingested bytes per service (tempo_distributor_bytes_received_total by tenant, spans per service).
  2. Apply or tighten tail sampling and drop noisy spans (health checks, /metrics) with a filter processor.
  3. Remove large attributes (SQL with full payloads, request bodies) via attributes/transform processors.
  4. Set block retention in the compactor (compaction.block_retention: 336h).
  5. Keep 100% data only in span metrics, not raw traces.

Why → Most trace data is never read; sample and trim it.

Interview tip → Health check spans are often 30%+ of volume; dropping them is a quick win.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry