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

How do you alert when an entire region fails, but not when a single pod restarts?

IntermediateScenarioAlerting and On-Call Design
Answer

Situation read → You want to aggregate to the right level. Per-pod alerts are noise, aggregate alerts catch real loss.

What I'd do →

  1. Alert on the aggregate success ratio per region: sum by (region) (rate(http_requests_total{code!~"5.."}[5m])) / sum by (region) (rate(http_requests_total[5m])) < 0.95.
  2. Add a traffic-drop alert comparing the region to its own history, since a dead region may stop emitting errors altogether.
  3. Use an external blackbox probe per region, so you do not depend on the region's own monitoring.
  4. Pod restarts become a dashboard panel or a ticket with a rate threshold.

Why → A region outage can look like "no data", so aggregate and external views are both required.

Interview tip → Mention that probes must run from outside the failure domain.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and On-Call Design