Error budget
The amount of unreliability an SLO allows over a period, used to decide when a team ships new features and when it stops to fix reliability.
An error budget is the amount of unreliability an SLO allows over a period, for example the 0.1% of failed requests a 99.9% target leaves. Teams use it to decide when to ship new features and when to stop and fix reliability.
If the SLO is 99.9% of requests succeeding in a month, the other 0.1% is the budget. While budget remains, the team can take risks: ship, experiment, migrate. When it is spent, new releases pause and the work goes to reliability until the budget recovers. It turns the argument between product and operations into a number both agreed on in advance. Google’s SRE workbook gives an example error budget policy: if a service has exceeded its budget for the preceding four-week window, all changes and releases stop, except P0 issues and security fixes, until the service is back within its SLO.
The budget is an internal tool. The SLA promised to customers is looser than the SLO, so burning the budget is a warning, before any contract is breached. Risky changes spend it, which is why canary releases and feature flags that limit the blast radius let a team ship more within the same budget. A postmortem after a large burn says where the next work should go.
Sources
Related terms
- SLO and SLI: An SLI is a measured indicator of service quality; an SLO is the internal target for it, stricter than any SLA you sign.
- SLA (service level agreement): A contract that defines availability, response and fix times per priority, and what happens when they are missed.
- Canary release: Sending a new version to a small share of traffic first, watching error rates and latency, and widening the rollout only if it holds.
- Feature flags: Switches in code that turn a feature on or off for some or all users without a new deploy.
- Blast radius: How much of a system, and how many customers, a single failure, bad deploy or leaked key can affect.
- Postmortem (blameless): A written review after an incident: what happened, why, how it was handled and what changes so it does not repeat.
- Toil (SRE): Manual, repetitive operations work that a machine could do and that grows with the service, such as restarts, manual deploys and copying data.
