How-To Guide

How to Design Actionable Alerts

Turn monitoring signals into alerts a human can act on, with thresholds from your SLO, grouping, and a runbook per alert.

On this page

  1. Introduction
  2. Why Alerts Get Ignored
  3. Alert on Symptoms, Not Causes
  4. Thresholds from Your Objectives
  5. Grouping and Deduplication
  6. Routing and Severity
  7. Runbooks and Ownership
  8. Conclusion

Introduction

A monitoring system that pages for everything pages for nothing: the on-call engineer learns to ignore the noise, and a real incident is buried among alerts that did not need attention. An actionable alert is one that a human can act on, that fires when users are actually affected, and that carries enough context to start investigating. Designing alerts is therefore about selection and framing, not about adding more. This article covers alerting on symptoms rather than causes, choosing thresholds from your objectives, grouping related alerts, routing by severity, and attaching a runbook so the page is the start of a fix.

Why Alerts Get Ignored

Alert fatigue is a failure mode of the monitoring system itself. If every threshold breach pages, the on-call engineer sees dozens of pages a week, most of which resolve on their own, and eventually stops investigating before checking. The cost is that the one page that mattered is treated like the rest, and response time to a real incident grows.

The root cause is alerting on causes rather than effects. CPU is high, a queue is deep, a replica is lagging: each is a potential cause of user impact, but none is proof of it. Alerting on each cause produces many alerts that never reach the user, while the alert that matters is the one about the user impact.

Alert on Symptoms, Not Causes

A symptom is a measurable degradation of the user’s experience: a rise in failed requests, in latency above the objective, or in a business action that does not complete. Alert on the symptom, and use the cause metrics as context to investigate once the symptom fires. This inverts the common pattern and dramatically reduces page volume, because many internal anomalies never become user-visible.

Some cause alerts are still worth paging, but only where the cause is a leading indicator of imminent impact and the fix is urgent, such as disk filling to capacity or certificate expiry. Those are the exceptions; the default is to alert on the symptom and let the cause be diagnostic.

Thresholds from Your Objectives

The threshold for an alert should come from your service level objective, not from a round number. If the objective is that 99.9 percent of requests succeed, the alert fires when the error budget is burning fast, not when the error rate crosses one percent arbitrarily. This ties the alert to the promise you made and makes its urgency meaningful.

# Fast-burn alert: page when the budget is burning fast enough to exhaust
# it well before the window ends. 5m window at 14.4x burn, 1h window at 6x.
groups:
  - name: api-slo
    rules:
      - alert: ApiErrorBudgetFastBurn
        expr: |
          (1 - sum(rate(http_requests_total{status=~"2..|3.."}[5m]))
               / sum(rate(http_requests_total[5m]))) > 14.4 * 0.001
        for: 2m
        labels: { severity: page, slo: api-availability }
        annotations:
          summary: "API burning error budget at 14.4x over 5m"
          runbook: "https://runbooks.example.com/api-availability"
          dashboard: "https://grafana.example.com/d/api"

      - alert: ApiErrorBudgetSlowBurn
        expr: |
          (1 - sum(rate(http_requests_total{status=~"2..|3.."}[1h]))
               / sum(rate(http_requests_total[1h]))) > 6 * 0.001
        for: 30m
        labels: { severity: ticket, slo: api-availability }

Grouping and Deduplication

One incident often produces many alerts: every instance reports the same dependency failure, and each one pages separately. Group them by the underlying failure so the on-call engineer sees one notification for the incident, not fifty. Group by the service and the symptom, and route the group rather than the individual alerts.

Deduplication and inhibition suppress alerts that are consequences of another: if the database is down, do not also page for every service that uses it. Suppress the downstream alerts while the upstream one is firing, so the page points at the root rather than the flood. This is a policy you configure once, and it is what keeps a cascading failure from generating a storm of pages.

# Alertmanager: group related alerts and inhibit downstream pages.
route:
  receiver: 'default'
  group_by: ['service', 'slo']          # one notification per incident
  group_wait: 30s
  group_interval: 5m
  repeat_interval: 4h
  routes:
    - matchers: ['severity="page"']
      receiver: 'pager'                 # interrupts a human now
    - matchers: ['severity="ticket"']
      receiver: 'ticket-queue'          # handled in business hours

inhibit_rules:
  - source_matchers: ['alertname="DatabaseDown"']
    target_matchers: ['severity="page"']
    equal: ['region']                   # do not page for dependents of a dead DB

Routing and Severity

Severity should determine the response: a page interrupts a human immediately, a ticket is handled in business hours, a log is recorded for review. Route by severity and by ownership, so each alert reaches the team that can fix it and no alert reaches a team that cannot. An alert with no owner is an alert nobody fixes.

Keep the number of severity levels small, because more levels produce arguments about which one applies. Two or three, with clear criteria, is enough: impact now, impact soon, and informational. The criteria should reference the user impact, not the metric value, so the choice is unambiguous under pressure.

Runbooks and Ownership

An alert without a runbook leaves the responder to rediscover the diagnosis. Attach a short runbook to each alert: what it means, how to confirm it, the common causes, and the first steps. The runbook should be a sequence of actions, not a paragraph of background, so it can be followed at three in the morning.

Assign every alert an owner who reviews it periodically and removes it when it is no longer useful. Alerts accumulate, and a stale alert that fires but means nothing erodes trust in all the others. Treat the alert set like code: reviewed, owned, and pruned.

Conclusion

Actionable alerts fire when users are affected, not when a cause metric moves, use thresholds from your objective rather than round numbers, group a cascading failure into one notification, and route by severity and ownership. Attach a runbook so the page is the start of the fix, and give every alert an owner who prunes it when it stops being useful. The measure of a good alert set is not how much it catches but how rarely it wakes someone for something that did not matter.

Sources: Google SRE Workbook: Alerting on SLOs, Alertmanager: inhibition and grouping, Google SRE Book: Being On-Call.

FAQ

Should I alert on CPU or queue depth directly?
Usually not as a page. Those are causes, and alerting on them pages for anomalies that may never affect users. Alert on the user-facing symptom, and use the cause metrics as diagnostics once the symptom fires. Exceptions are leading indicators of imminent impact such as disk filling.
How do I reduce alert noise during a cascading failure?
Group alerts by the underlying service and symptom so one incident produces one notification, and use inhibition to suppress downstream alerts while an upstream one is firing. Then the page points at the root cause instead of every affected service.

Related Examples