Interview Prep/SRE & Reliability/Observability & Telemetry Decisions

An alert fires on `up == 0` for a target that's scraped through a service. Pods are healthy. You keep getting woken up.

BeginnerScenarioObservability & Telemetry Decisions
Answer

Situation read → up measures whether Prometheus can scrape, not whether users are affected. It is a cause-based alert paging humans.

What I'd do →

  1. Downgrade up == 0 alerts for single targets to ticket severity.
  2. Page only on symptom-based SLO burn alerts.
  3. Use absent() or aggregated up ratios for "whole job gone" cases:
    sum(up{job="checkout"}) / count(up{job="checkout"}) < 0.5
    
  4. Fix the root cause of flapping scrapes (timeouts, scrape interval vs scrape timeout, network policies).

Why → One unscrapable pod among many replicas rarely affects users; paging on it trains people to ignore pages.

Interview tip → "Page on symptoms, ticket on causes."

All SRE & Reliability questions

More on Observability & Telemetry Decisions