Video in progress

What is an error budget and how does a team use it in practice?

An error budget is the "reserve of failure" the SLO allows: with a 99.9% SLO, 0.1% of requests, or about 43 minutes of downtime in 30 days. If budget remains, the team ships fast; when it runs out, it focuses on stability.

📖 Answer

The math is simple: 30 days ≈ 43,200 minutes, and 0.1% ≈ 43 minutes. In terms of requests: with 10 million requests a month, 10 thousand can fail.

This number makes arguments much easier. The question "do we ship this release or test for another week?" is settled by a number, not by feelings:

  • 80 percent of the budget is left: new features, experiments, faster deploys;
  • the budget is about to run out: a feature freeze, only reliability work: retries, timeouts, tests, tasks from the postmortem.

On one project this happened: every week, after a deploy, errors showed up for 10–15 minutes. Once the error budget graph showed it, the team moved to canary deploys and the problem went away.

Important points:

  • the budget should be spent. If it always stays at 100%, the SLO is too loose or the team is overly cautious;
  • agree in advance which events count (planned maintenance, client-side errors);
  • the policy should be written down, otherwise nobody stops when the budget runs out.

You can tie alerts to the budget "burn rate" too, which gives a much more precise signal than a raw error percentage.