Interview Prep/SRE & Reliability/Observability & Telemetry Decisions

The monthly observability bill doubled in two months and finance wants it cut by 40%. What do you do?

IntermediateScenarioObservability & Telemetry Decisions
Answer

Situation read → Telemetry cost grows with series count, log volume and retention, usually driven by a few noisy sources. Cut waste first, signal last.

What I'd do →

  1. Find the top series by metric name:
    topk(20, count by (__name__) ({__name__=~".+"}))
    
    and per-job sample ingestion with scrape_samples_scraped.
  2. Find the top log producers by namespace and app (Loki: sum by (namespace) (bytes_over_time({namespace=~".+"}[1h]))).
  3. Drop unused metrics at scrape time with metric_relabel_configs (action: drop) — histograms with 30 buckets nobody queries are classic.
  4. Cut debug/info logs in production, sample repetitive success logs, keep all errors.
  5. Tier retention: 15 days hot, 13 months downsampled for SLO reporting.
  6. Use tail sampling for traces: keep 100% of errors and slow traces, 5% of the rest.
  7. Assign telemetry cost per team with a dashboard so the incentive sits with the owner.

Why → Most telemetry is never queried. Removing it costs nothing in reliability; removing SLO inputs costs a lot.

Interview tip → Say "I never cut the SLI metrics or error logs — everything else is negotiable."

All SRE & Reliability questions

More on Observability & Telemetry Decisions