Interview Prep/SRE & Reliability/Error Budgets & Burn-Rate Alerting

What happens to burn-rate alerts during a traffic drop to zero?

AdvancedConceptError Budgets & Burn-Rate Alerting
Answer

With zero traffic the ratio is 0/0, which PromQL returns as NaN, and NaN > x is false, so burn-rate alerts go silent. That is dangerous if traffic dropped because the service is unreachable (DNS broken, LB misconfigured). Cover it with:

  • A traffic-drop alert comparing current rate to the same time last week: sum(rate(http_requests_total{job="checkout"}[10m])) < 0.3 * sum(rate(http_requests_total{job="checkout"}[10m] offset 1w))
  • Synthetic probes from outside, which keep generating events.
  • An absent() alert for the metric disappearing entirely.
All SRE & Reliability questions Roadmap: SRE & incident response

More on Error Budgets & Burn-Rate Alerting