Skip to content

Lesson 9 of 9 · 27m

Alert Design and Response Quality

Design alerts around user impact, actionable symptoms, and clear ownership while ruthlessly removing noise that trains responders to ignore pages.

A page is a request for a human to interrupt their life. If you would not want someone woken at 03:00 to act on the signal, it should not page. Alert design is not a monitoring implementation detail; it is operational user-interface design for your most tired user.

Alert on symptoms users care about

Resource metrics are useful context, but customer symptoms are usually better paging signals:

page: checkout success rate below 97% for 5 minutes
page: login error rate above 5% across two regions
page: queue oldest message age above 10 minutes with consumer errors
ticket: CPU above 80% during business hours
ticket: disk projected full in 14 days

A CPU spike may matter, but only because of what it predicts or causes. If there is no plausible harm and no action, use a ticket, dashboard, or review report.

Every page must answer three questions

1. What user or business impact is happening or imminent?
2. What should the responder do first?
3. How will we know mitigation worked?

Embed that in the alert text:

alert: CheckoutSuccessLow
expr: |
  sum(rate(checkout_completed_total[5m]))
    / sum(rate(checkout_attempted_total[5m])) < 0.97
for: 5m
labels:
  severity: sev2
annotations:
  summary: "Checkout success below 97% for 5 minutes"
  runbook: "https://runbooks.internal/checkout-success-low"
  first_steps: "Check deploys, payment provider health, and regional split."

A link is not enough if the runbook is empty, stale, or generic.

Use multi-window or burn-rate alerts carefully

For SLO-based alerting, fast and slow windows reduce noise while catching both acute and chronic failure. The exact math matters less than the operational property: do not page on one bad minute, and do not wait until the monthly budget is ash.

- alert: CheckoutErrorBudgetFastBurn
  expr: checkout_error_ratio_5m > 0.10 and checkout_error_ratio_1h > 0.05
  for: 2m
- alert: CheckoutErrorBudgetSlowBurn
  expr: checkout_error_ratio_6h > 0.02 and checkout_error_ratio_3d > 0.01
  for: 1h

Tune thresholds against actual traffic and service criticality. Copy-pasted numbers are not a reliability strategy.

Audit the paging system like production code

Review pages monthly:

alert                  pages/mo   action rate   false positive   keep?
checkout-success-low    2          100%          0%               yes
node-cpu-high          18          11%           61%              rewrite
disk-inode-prediction   1          100%          0%               yes
redis-connected-slaves  7           0%           90%              delete

Ask responders what they did. If the answer is usually "waited and it cleared," you have trained them to ignore the system.

Alerts need ownership and lifecycle

Every alert should have a service owner, severity, routing target, maintenance-window behavior, and date of last review. Deleting alerts is a feature. Alert count growth is not maturity; it is often unmanaged anxiety.

Field notes

  • Do not page on a metric whose only useful response is "restart the service" unless restart automation is itself the problem.
  • Include enough labels to route, but not a wall of context-free dimensions.
  • Test alerts end-to-end. A correct PromQL expression pointing at a dead notification channel is still operational failure.
  • Noise is cumulative. Ten almost-useful alerts can be worse than one obviously bad one.

Was this lesson helpful?

Sign in to rate