Bookmarks

Error budget

Headroom for falling short of a reliability target: how many failures a service is allowed at a given SLO — usually 100% minus the SLO.

checked 9 Nov

All terms

Nobody chases 100% reliability: the closer to it, the more each improvement costs and the slower each change becomes. An error budget turns what is left down to the target into a measurable resource: it is spent on failures, updates and experiments, and once the headroom runs out, risky changes are stopped.

How it is calculated

The formula is simple: error budget = 100% − SLO. If the target is 99.9% of successful requests over four weeks and the service has taken 3 million requests, the budget is 3,000 errors, or 0.1% of traffic; a single incident of 1,500 failed requests will spend half the budget. At a target of 99.9% and a 30-day window, the budget is 43 minutes of full downtime.

SLO targetError shareBudget over 30 days
99%1%7 h 12 min
99.5%0.5%3 h 36 min
99,9%0,1%43 min
99,95%0,05%about 22 min

What it is spent on

The budget is spent on everything that lowers quality: incidents and failures, rolling out updates, experiments. While the budget lasts, the team can take risks — release more often, try new things on a subset of users. When the budget is exhausted, risky changes are paused until the target is met again.

Error budget policy

So that the budget does not become just another metric for reports, a policy is fixed for it — an agreement on what happens once it is exhausted and who makes the decision. Three parties with different interests agree on it: the product manager, the developers and those responsible for operations. Typical policy clauses:

  • freeze risky releases until the budget recovers
  • switch the team to reliability work: fix the cause of the failures
  • if the budget is being spent steadily — invest in resilience or revisit the target

If at least one party does not accept the policy, the SLO is revised until the agreement suits everyone: otherwise the target is either unattainable or of no use.

Burn rate

The budget is monitored not only by what remains but also by how fast it is spent. The burn rate shows how many times faster than planned the headroom is being used up: at a target of 99.9% over 30 days, a steady error share of 0.1% is a burn rate of 1, and the budget runs out to exactly zero at the end of the window; a burn rate of 2 burns the budget in 15 days, a burn rate of 10 in 3 days. Alerts are built on such thresholds to spot the problem before the budget is exhausted.

Origin of the term

The concept was established by Google’s book “Site Reliability Engineering” (2016): in it, the error budget is the tolerated rate of missing the SLO, monitored daily or weekly — “an SLO for meeting other SLOs”.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • SLOservice level objective

    An SLO is the quality target a team maintains; the error budget is what is left down to that target, the tolerated share of failures.

  • SLIservice level indicator

    An SLI is the quality measurement itself, for example the share of successful requests; the error budget is calculated from the target for that measurement.

  • SLAservice level agreement

    An SLA is a contract with the customer: missing the level entitles them to compensation; the error budget is an internal team tool.

In depth in the references

where the topic is covered in detail

Appears in the references