Course contents · Lesson 6 of 19

Error Budget Policies: When to Slow Down Releases

Reliability Targets · Lesson 6 of 19 · 10 min Engineer

It is the 18th of the month. Last week checkout was down for 20 minutes, and 30 percent of the error budget is left. A big redesign is due to launch tomorrow. Without a rule agreed in advance, whoever argues hardest decides. This lesson covers error budget policies: what they say at each budget level, which window and alerts trigger them, and how to keep them fair.

What an error budget policy is

As lesson 4 showed, the error budget is the failure an SLO allows: at 99.9 percent over 30 days, 1 request in 1,000, or 43.2 minutes of full outage. It is the meter, but it does not say what to do when the meter runs low.

An error budget policy is a short written agreement between product, engineering and SRE on what happens at each budget level. All three agree to it while things are calm, so nobody negotiates in the middle of an outage.

Most policies fit on a page or two. They say which SLOs and window they cover, what changes at each level, what may still ship when the budget is gone, who can grant exceptions, and when the policy is reviewed.

Google's Site Reliability Workbook publishes an example error budget policy. Its core rule: if the service has spent more than its budget over the past four weeks, all changes and releases stop, except fixes for the most urgent (P0) problems and security fixes, until the service is back within its SLO.

A typical ladder of budget levels

Many teams turn that single rule into a ladder, so releases get more careful as the budget drops instead of stopping all at once. The thresholds below are a common starting point, not a standard.

Flowchart: check how much error budget is left, daily and after incidents. Above 50 percent left: ship normally, with the usual review, tests and rollout. 10 to 50 percent left: extra care, only low-risk changes, with extra review. Below 10 percent or empty: freeze features and fix reliability, with exceptions for security and outage fixes. A dashed loop says check again tomorrow, or after the next incident. The thresholds are examples each team agrees in advance
The same daily check gives a different answer as the budget falls, so the rung decides how a release goes, not a debate.
  • Above 50 percent left: ship normally. Releases follow the usual code review, automated tests and rollout.
  • 10 to 50 percent left: extra care. Only low-risk changes ship, each with a second reviewer, such as small fixes or code behind a feature flag, a switch that turns a feature on or off without a new deploy. Big launches wait.
  • Below 10 percent or empty: freeze features. A feature freeze pauses new launches while the team fixes what burned the budget, adds tests and alerts, and makes a rollback, a return to the previous working version, faster.

A freeze pauses features, not every change. Security patches and the fix for the outage itself still ship, because blocking them would leave users worse off. So do rollbacks, which remove risk rather than add it.

In the illustrative month below, a day-11 incident moves the team to extra care, and a bad release on day 21 triggers a freeze.

Illustrative line chart of error budget left over a 30-day window for a 99.9 percent SLO, with green, amber and pink zones split by dashed lines at 50 and 10 percent. The line falls slowly from 100 to 88 percent, drops to 40 percent at a day-11 incident that spends 48 percent, slides to 32 percent, then drops to 6 percent at a day-21 bad release that spends 26 percent more. It then stays flat at 6 percent, labelled features frozen, reliability work first
Two bad days, not the slow drift, moved the team down two rungs, and each move followed a rule everyone had agreed.

Choosing the window

The window is the time an SLO is measured over. A rolling window covers the most recent 28 or 30 days and moves forward a day at a time. A calendar window covers a fixed month and starts again from zero on the 1st.

Policies usually use a rolling window, because users do not forget a bad week when a new month begins, and a reset tempts teams to spend leftover budget on risky launches at month end. A 28-day window holds exactly four of each weekday, so busy Mondays and quiet weekends weigh the same in every window.

Here the data plan analogy stretches. A plan resets on a fixed date, but a rolling budget recovers a little each day, as failures from 28 or 30 days ago drop out. In a 30-day window, the day-11 incident above keeps counting until day 41.

Alert on burn rate: page fast burns, ticket slow ones

A daily check is too slow to catch an outage. Burn rate measures how fast the budget is going: the share of requests failing now, the error ratio, divided by the share the SLO allows. As SLI, SLO and SLA Explained shows, a burn rate of 1 uses the budget up exactly at the end of the window.

A 30-day window holds 720 hours, and a 99.9 percent SLO allows an error ratio of 0.1 percent, so a burn rate of 14.4 means 1.44 percent of requests are failing. One hour of that spends 14.4 × 1 ÷ 720 = 0.02 of the budget, which is 2 percent. Left alone, it would empty the budget in 720 ÷ 14.4 = 50 hours, about two days.

So a policy pairs two kinds of alert, following the workbook chapter Alerting on SLOs. A page is an urgent alert that interrupts the on-call engineer at once, even at night. A ticket is a work item someone handles during working hours.

Two-row table for a 30-day budget at a 99.9 percent SLO. Fast burn: 1-hour window, also checked over 5 minutes, burn rate 14.4, or 1.44 percent of requests failing, spending 2 percent of the budget in that hour and emptying it in about 2 days; action: page, wake someone now. Slow burn: 3-day window, also checked over 6 hours, burn rate 1, or 0.1 percent failing, spending 10 percent of the budget in those 3 days and all of it in 30 days; action: ticket, fix in working hours
The faster the burn, the less evidence you need: one hour at 14.4 justifies waking someone, while a slow leak can wait for morning.

Each alert also checks a short window, one twelfth as long, so it clears soon after a fix. Alerting Best Practices adds the workbook's middle tier, a burn rate of 6 over 6 hours that also pages, and writes the tiers as a Prometheus rule. The page starts the response now; the budget the incident spends sets tomorrow's rung.

Keeping the policy fair

A policy works only while both sides trust it, so neither side can bend it at will. Four habits help:

  • Name who grants exceptions. One role agreed in advance, such as the head of engineering, decides whether a launch may go ahead during a freeze. Google's example sends disagreements to the CTO, the most senior technology leader.
  • Write every exception down, with the reason and the approver, so a review can see how often the rule bent.
  • Learn from big incidents. Google's example requires a postmortem, a written review of what went wrong and how to prevent it, for any single incident that spends more than 20 percent of the four-week budget. Lesson 14 covers writing one.
  • Review the policy after every exhaustion. Did the SLO match what users felt, did the thresholds fire at the right time, and did the freeze fix the cause? Review it on a schedule too, such as every quarter.

Reviews cut both ways: a budget that never drops below 90 percent suggests the SLO is stricter than users need.

Check yourself

With 35 percent of the budget left, a team wants to launch a full redesign to every user at once. What does the ladder say, and why?

It waits, or ships behind a feature flag for a small group with extra review. Between 10 and 50 percent only low-risk changes go out, because one more bad release could force a freeze.

The budget is empty and features are frozen. A patch for a security hole that attackers are already using is ready. Should it ship?

Yes. Security fixes are a standard exception: the open hole hurts users more than the small risk of the change.

With a 99.9 percent SLO over 30 days, 0.3 percent of requests have failed steadily for three days. What is the burn rate, and should it page or open a ticket?

A burn rate of 3 (0.3 ÷ 0.1): it has spent 30 percent of the budget and would empty it in 10 days. It opens a ticket, because it is above the slow-burn line of 1 but below the rates of 6 and 14.4 that page.

Go deeper