Turn reliability into a budget you can spend, and use burn-rate alerts to know when you are overspending.
You already know that an SLO is a reliability target and the error budget is what is left over: 100% minus the target. This page is about using the budget: choosing good SLIs, counting requests, measuring how fast you are spending it (burn rate), and deciding what to do when it runs low.
The basics (SLI, SLO and SLA) are in SLA, SLO and SLI. Here we go one level deeper. An SLO is only useful if it changes decisions, and it does that through the error budget.
Most modern SLOs count requests, not time. With a 99.9% success SLO over 30 days and 10 million requests, the budget is 0.1% of 10 million, which is 10,000 bad requests. A busy hour with an outage spends more budget than a quiet night with the same length outage, because more requests fail.
Burn rate = (current error rate) ÷ (error rate the SLO allows). If the SLO allows 0.1% errors and right now 1.44% of requests fail, you are burning at 14.4×: you would spend the whole 30-day budget in about two days. Alerting on burn rate tells you how urgent a problem is, not just that it exists.
| Kind | A good SLI | Watch out for |
|---|---|---|
| Availability | Good requests ÷ valid requests (for example non-5xx) | Count failures users see, not only server errors |
| Latency | Share of requests faster than 300 ms (and another for 1 s) | Averages hide the slow tail. Use percentiles or thresholds |
| Freshness | Share of data newer than 1 minute | For pipelines and caches, where “up” is not enough |
| Correctness | Share of answers that are right | Hard to measure, often needs a checker |
| Per user journey | Checkout success from cart to receipt | One service can look fine while the journey fails |
| Window | How it works | Good for |
|---|---|---|
| Rolling 28 or 30 days | The last 28 or 30 days, always moving | Smooth, no end-of-month cliff. Common for operations |
| Calendar month or quarter | Resets on a date | Matches contracts and reports, but budget “snaps back” |
A single rule such as "error rate above 1%" is either too jumpy or too slow. A popular pattern (described in the Google SRE workbook) pairs a long window, to be sure it matters, with a short window, to be sure it is still happening. These are example numbers for a 30-day budget:
| Severity | Burn rate | Long window | Budget used | Action |
|---|---|---|---|---|
| Fast burn | 14.4× | 1 hour | 2% | Page someone now |
| Slow burn | 6× | 6 hours | 5% | Page someone |
| Leak | 1× | 3 days | 10% | Open a ticket |
Illustrative model: everyday errors are 0.005% of the window, and each deploy costs half a minute of budget on average. The 14.4×, 6× and 1× burn rates are the example thresholds from the Google SRE workbook (2%, 5% and 10% of a 30-day budget).
| Term | Meaning in easy words |
|---|---|
| SLI | A measured number about service quality, such as the share of good requests |
| SLO | A target for an SLI over a window, such as 99.9% over 30 days |
| Error budget | The amount of failure the SLO allows: 100% minus the target |
| Burn rate | How fast the budget is being spent. 1× uses it up exactly at the end of the window |
| Window | The period an SLO is measured over, such as a rolling 28 days |
| Valid events | The requests that count in the SLI, after excluding things like bot traffic or bad input |
| Error budget policy | An agreed set of actions for each level of remaining budget |
| Multi-window alert | An alert that needs both a long and a short window to be over the limit |
| Release freeze | Pausing feature releases until reliability is back inside the target |
| Toil | Repetitive manual work that grows with the service and could be automated |
| Composite SLO | The reliability of a whole chain, which is below any single part |
| Choice | We gain | We lose |
|---|---|---|
| Tighter SLO (more nines) | Happier users, fewer big incidents | Much higher cost, slower change |
| Looser SLO | Faster releases, lower cost | More visible failures |
| Short window (7 days) | Quick feedback | Noisy, one bad hour dominates |
| Long window (90 days) | Stable and calm | Slow to react, long memory of old incidents |
| Request-based SLI | Fair across busy and quiet times | Needs request counts and good logging |