Interview Prep/Monitoring & Observability/Alerting and On-Call Design

Design burn-rate alerts for a 99.9% availability SLO over 30 days.

AdvancedScenarioAlerting and On-Call Design
Answer

Situation read → Error budget is 0.1%. A static error threshold either pages too late or too often. Use multi-window, multi-burn-rate alerts as in the Google SRE Workbook.

What I'd do →

  1. Define the SLI as a recording rule per window: sli:http_errors:ratio_rate5m, ...1h, ...6h, ...3d.
  2. Page when burn rate is 14.4x over 1h AND 5m (2% of budget in 1 hour).
  3. Page when 6x over 6h AND 30m (5% of budget in 6 hours).
  4. Ticket when 1x over 3d AND 6h.
- alert: ErrorBudgetFastBurn
  expr: sli:http_errors:ratio_rate1h > (14.4 * 0.001) and sli:http_errors:ratio_rate5m > (14.4 * 0.001)
  labels: {severity: page}

Why → The long window proves the burn is significant, the short window proves it is still happening so the alert resets quickly.

Interview tip → Know the 14.4 / 6 / 1 numbers and what fraction of budget each represents.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and On-Call Design