One screen to see health at a glance, and a step-by-step guide for when it goes wrong.
A dashboard is one screen that shows the health of a system at a glance. A runbook is a short, step-by-step guide that says what to do when a particular thing goes wrong.
Once you collect metrics, logs and traces, you still need a way for a human to use them. Raw data does not help at 3 a.m. A dashboard turns the most important numbers into charts, and a runbook turns the team's hard-won knowledge into steps.
A good dashboard starts with the four golden signals (from Google's SRE book): latency (how long requests take), traffic (how many requests), errors (how many fail) and saturation (how full the system is). These four tell you if users are happy, for almost any service.
A good runbook is attached to an alert. When the alert fires, it links straight to the runbook. The runbook says what the alert means, how bad it is, what to check first, how to fix or reduce the harm, and who to call if it does not work.
Common tools: Grafana, Datadog, Kibana, Amazon CloudWatch and similar. Runbooks often live in a wiki, in the same repository as the code, or inside an incident tool such as PagerDuty.
| Kind | Who looks at it | What it shows |
|---|---|---|
| Service health (overview) | On-call engineer | The four golden signals for one service, with the deploy markers |
| Drill-down / debug | Engineer finding a cause | Per instance, per endpoint, per dependency, per region |
| Infrastructure | Platform team | CPU, memory, disk, network, queue depth, database connections |
| SLO / error budget | Team lead, product owner | How much allowed failure is left this month |
| Business | Product, support, leaders | Orders, sign-ups, payments: what customers are doing |
| Part | Example for a high-error alert |
|---|---|
| Name and link to the alert | HighErrorRate on checkout |
| Symptom | More than 5 % of checkout requests fail for 5 minutes |
| Impact | Customers cannot buy. Browsing still works. |
| Check first | Did a deploy happen just before? Open the deploy markers. |
| Fix or reduce harm | Roll back, or turn off the new feature flag |
| Escalate | If still failing after 15 minutes, page the service owner |
| Owner and last review date | Payments team, reviewed in March |
Version 2.8 went out 6 minutes ago and the checkout code throws errors.
The minutes are made-up numbers (illustrative) to show how the pieces add up. Real times depend on your team, your tools and the problem.
| Term | Meaning in easy words |
|---|---|
| Dashboard | A screen of charts and numbers that shows system health |
| Runbook | A step-by-step guide for handling a specific alert or task |
| Playbook | A wider guide for a type of event, such as a major outage, often with roles and communication |
| Golden signals | Latency, traffic, errors and saturation |
| Saturation | How full a resource is (CPU, memory, connections, queue) |
| Percentile (p99) | The value that 99 % of requests are faster than. Shows the slow tail. |
| Vanity metric | A number that looks good but does not help you act (total users ever, uptime of one process) |
| Drill-down | Clicking from a summary chart into more detail |
| On-call | The engineer who is responsible for responding to alerts right now |
| SLO | Service level objective: a target such as 99.9 % of requests succeed |
| Error budget | The amount of failure the SLO still allows this period |
| Choice | We gain | We lose |
|---|---|---|
| Few charts, focused | Clarity, fast reading | Some detail is one click further away |
| Many charts on one page | Everything is visible | Noise, slow pages, and nobody knows where to look |
| Detailed runbook | Anyone can follow it | Long to write, and quick to go stale |
| Short runbook | Easy to read and keep updated | May skip steps a newer engineer needs |
| Manual steps | Simple, human judgement | Slow and easy to get wrong when tired |
| Automated fix | Fast and consistent | Needs engineering work, and can act wrongly on a false alarm |