Error Budget

An error budget is the amount of unreliability a service is allowed within a period, equal to 100 percent minus its SLO, and it is used to decide when to ship faster and when to slow down.

Also known as: Reliability budget

Related terms in this glossary

How it works

If a service has an availability SLO of 99.9 percent over 30 days, it may fail 0.1 percent of the time. For a request-based SLO, that is one failed request in every thousand. For a time-based view, it is roughly 43 minutes of full downtime in a 30-day month. That allowance is the error budget.

Teams track how fast the budget is being consumed, called the burn rate. A burn rate of 1 uses exactly the whole budget by the end of the window. Alerting on high burn rates over short and long windows catches both sudden outages and slow degradation.

The Google SRE books describe an error budget policy, agreed in advance by product and engineering leaders, that states what happens when the budget runs out. Typical actions include:

  • Freezing non-urgent feature releases until the service is back within its SLO
  • Moving engineers to reliability fixes and postmortem actions
  • Requiring extra review for risky changes

Why it matters

Error budgets remove the built-in conflict between developers who want to ship and operators who want stability. If budget remains, the team can release, run experiments and take calculated risks. If it is spent, reliability work takes priority, by an agreement everyone made beforehand. It also shows that some failure is acceptable and planned. The approach only works if the SLO reflects real user needs and leadership honors the policy. See Gepton's Observability and SRE service.

Error Budget in depth

Example: an error budget in action

Example: a hypothetical payments API has an SLO that a very high share of requests succeed and return within a latency threshold over a rolling 28-day window. Midway through the window, a bad configuration change causes a burst of errors that consumes most of the remaining budget in an hour. The fast-burn alert pages the on-call engineer, who rolls back. Under the error budget policy agreed earlier, feature releases for that service pause until the budget recovers, and the team spends the next sprint on the postmortem actions: a config validation step in CI and a canary stage for configuration changes. When the budget returns to healthy levels, normal releases resume. Nobody had to argue about whether to slow down.

Burn-rate alerting

Alerting on raw error rates produces noise. Burn-rate alerts instead ask how quickly the budget is being spent. The Google SRE Workbook recommends multiwindow, multi-burn-rate alerts:

  • A fast-burn alert compares a short window and a longer confirming window at a high burn rate, catching outages that would exhaust the budget within hours or a few days. It pages.
  • A slow-burn alert uses longer windows at a lower burn rate, catching gradual degradation. It creates a ticket.

Requiring both a short and a long window to exceed the threshold stops alerts from firing on a brief blip and resets them quickly once the problem is fixed.

Tools

Prometheus recording rules and alerting rules are the common foundation. Open-source projects such as Sloth and Pyrra generate SLO and burn-rate rules from a short specification, and the OpenSLO project defines a vendor-neutral SLO format. Grafana, Datadog, New Relic and the major cloud monitoring services also offer SLO and error budget features. Whatever the tool, keep SLO definitions in Git next to the service.

Writing an error budget policy

  1. Name the SLOs it covers and who owns them.
  2. Define the actions at each budget level, such as release freeze, reliability sprint or extra review.
  3. Define exceptions, for example security fixes always ship.
  4. Say who can override the policy and how that decision is recorded.
  5. Get it signed off by product and engineering leaders before you need it.

Common mistakes

  • Setting SLOs so high that the budget is gone after any small incident, which makes the policy impossible to honor.
  • Measuring from the server only, while users experience failures the server never sees.
  • Counting planned maintenance or dependency failures inconsistently.
  • Having a policy that leadership quietly ignores, which teaches teams the budget is meaningless.

Error budgets come from site reliability engineering, depend on a well-chosen service level objective and pair with DORA metrics on the delivery side. The same idea applies to AI agents, where the budget can cover failed or escalated tasks. We set this up in observability and SRE.

Questions about Error Budget

Something else? Send us your question and an engineer replies with next steps.

What should happen if the error budget is spent because of a third-party outage?

Decide this in the policy before it happens. Some teams exclude failures caused by an upstream provider from the budget, others count them because users experienced the failure regardless of cause. Counting them is more honest from the user's view and often drives useful work such as retries, caching, fallbacks or a second provider. If you exclude them, track them separately so dependency risk stays visible. Either way, apply the rule consistently instead of deciding case by case after each incident.

Can error budgets work for a small team without a dedicated SRE function?

Yes. The idea is simple enough for any team that runs a service: pick one or two SLOs that reflect what users care about, measure them from existing metrics, and agree in advance what the team will do when reliability falls short. A small team might simply agree that if the budget is spent, the next sprint prioritizes the fixes from the incident review. The formal machinery of burn-rate alerts and written policies can grow as the service and team grow.

Articles that mention Error Budget

All articles

Jump to

↑↓ to move↵ to open