A platform with 60 teams needs alert ownership so every alert reaches an owner. How do you design it?
AdvancedScenarioAlerting and On-Call Design
Answer
Situation read → At scale, a central platform team cannot own every alert. You need self-service with guardrails.
What I'd do →
- Derive ownership from a service catalog (Backstage, or a labels convention such as
teamon every Deployment and namespace). - Teams ship their own
PrometheusRuleobjects (or Mimir/Loki ruler rules) in their repos. - CI enforces required labels and annotations, with a
promtool check rulesplus custom policy (OPA/conftest). - Alertmanager config is generated: one route per team from the catalog, or use per-tenant Alertmanager in Mimir.
- A default catch-all route goes to the platform team with a "no owner" tag to drive cleanup.
Why → Ownership attached to the code means alerts follow the service, not a spreadsheet.
Interview tip → Say "you build the paved road, teams drive on it."
More on Alerting and On-Call Design
Your on-call engineers receive 300 alerts a night and have started ignoring the pager. How do you fix it?IntermediateYou are asked to design alerting for a brand-new HTTP service from scratch. What do you alert on?BeginnerA "CPU above 90%" alert wakes someone at 3 a.m., but users saw no impact. What do you change?BeginnerA new hire asks: "Should we page on symptoms or causes?" How do you answer with an example?BeginnerDesign burn-rate alerts for a 99.9% availability SLO over 30 days.AdvancedPayments and platform teams share one Prometheus and one Alertmanager. How do you route alerts to the right team and severity?Intermediate