Alerts and on-call
Wake a person only for problems users feel and a person can fix. Give every alert a runbook, a clear owner and a path to escalate.
- Recommended 10
Recommended
Alert on symptoms
OPS-18Page people for what users feel, such as errors, slow answers and a service that is down. Watch causes such as CPU on dashboards instead.
Make every alert actionable
OPS-19Every alert needs a person to act now, names the service, and links to a runbook and a dashboard.
Page only for what cannot wait
OPS-20Split alerts into pages, which need someone now, and tickets, which can wait for working hours.
Share on-call fairly
OPS-21Put named people on a rota with a backup, hand over between shifts, and give time back after busy nights.
Escalate when nobody answers
OPS-22When a page is not acknowledged within a set time, send it to the next person automatically.
Alert when a scheduled job stops running
OPS-23Every scheduled job reports when it finishes. Alert when a report is missing, not only when a job fails loudly.
Alert on the age of the oldest waiting job
OPS-67For every queue and data pipeline, measure the age of the oldest item still waiting. Alert when it passes the delay users accept, such as 15 minutes.
Prove that alerts still reach you
OPS-24Keep one alert that always fires and goes to an outside service, which pages when it stops arriving. Send a test page every month.
Run the main user journeys from outside every few minutes
OPS-82Script the most important journeys, such as sign-in, search and checkout, and run them from outside your network every 5 minutes. Page when the same journey fails twice in a row.
Watch the status of the services you depend on
OPS-84List every outside service the product needs, such as payments, email and the cloud. Measure each one's error rate and speed from your own calls, and subscribe the incident channel to its status feed.
Read this with
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/operations/alerts-and-on-call">Agent Wranglers operations and observability playbook</a>. In code you write, add a comment next to it with the same link.