Skip to main content

SLOs · Reliability · SRE

Error Budget Policy: A Template Your Team Will Actually Follow

An error budget changes nothing unless everyone agrees in advance what happens when it runs out. A template policy, the budget math, and how to get it signed.

aiAxonIQ Team, Engineering at aiAxonIQ

Nov 24, 20269 min read

An SLO without consequences is a dashboard. The number goes red, someone mentions it in standup, and the release train keeps running because the quarter's roadmap was set before anyone looked at the reliability data. An error budget policy is the document that decides, in advance and in writing, what the team does when the budget runs low or runs out, so the decision is not renegotiated in the middle of an incident by whoever is most senior in the room.

This guide covers what the policy is for, how to calculate the budget it governs, a template you can adapt, how to get product and engineering leadership to sign it, and the ways these policies quietly stop working. It assumes you already have SLOs; if not, SLO vs SLA vs SLI covers the vocabulary.

What an error budget policy is, and is not

The error budget is the unreliability your SLO allows. With a 99.9% target, 0.1% of requests in the window can fail without breaching it. That turns reliability into a resource that product and engineering share. While there is budget left, the team ships, experiments and takes risk. When it is gone, users have had as much unreliability as the team promised they would tolerate, and any further risk comes out of their experience.

The policy is the agreement about what happens at each point on that curve. It is not:

  • A punishment. The example policy in the Google SRE Workbook lists this among its non-goals. A freeze gives the team permission to work on reliability when the data says it matters more than features. It is not a penalty for the team that missed.
  • An SLA. Nothing in it is a contract with customers. It governs internal behaviour, and its thresholds should sit well inside any external commitment.
  • A substitute for alerting. The policy acts on budget state over days and weeks. Paging on a fast burn is the job of multi-window burn rate alerts.

Calculating the budget

There are two ways to count, and the policy has to name one.

Request-based budgets count bad events. Allowed failures are (1 - SLO) * total requests in the window: at 99.9% over 28 days with 60 million requests, that is 60,000 failed requests. Remaining budget is the fraction not yet used, which in PromQL looks like this:

1 - (
  sum(increase(http_server_request_duration_seconds_count{job="checkout", http_response_status_code=~"5.."}[28d]))
  /
  sum(increase(http_server_request_duration_seconds_count{job="checkout"}[28d]))
) / (1 - 0.999)

A result of 1 means none of the budget is spent, 0 means all of it, and a negative number means the SLO is breached. Request-based counting weights each failure by traffic, so an outage at peak costs more than one at 4 a.m., which matches what users experience.

Time-based budgets count bad minutes, where a minute is bad if the SLI was below target during it. The allowance is easy to say out loud (seconds rounded):

SLO       30-day window   28-day window
99%       7h 12m          6h 43m 12s
99.5%     3h 36m          3h 21m 36s
99.9%     43m 12s         40m 19s
99.95%    21m 36s         20m 10s
99.99%    4m 19s          4m 2s

Time-based budgets are easier to explain outside engineering, but they treat a bad minute at 4 a.m. the same as one at peak, which overstates quiet-hour problems. Pick one method per SLO and write it into the policy. Use a rolling window rather than a calendar month as well: a calendar window resets on the 1st, which tempts a team that runs out on the 25th to wait it out.

A template error budget policy

The template below follows the structure of the Workbook's example policy, with graduated states added. The thresholds are starting points. Change the numbers; keep the shape.

# Error budget policy: checkout service

Owners: checkout engineering lead, checkout product manager, SRE lead
Approved by: VP Engineering, VP Product
Last reviewed: 2026-11-24 (review every 6 months)

## Scope
SLOs covered:
  checkout availability: 99.9%, 28-day rolling, request-based
  checkout latency: 99% of requests under 500ms, 28-day rolling
Budget is read from the production SLO dashboard named in this document.
That dashboard is the source of truth.

## Budget states
- Above 50% remaining: normal operation. Releases follow the usual process.
- 25% to 50% remaining: the team reviews the top budget consumers at its next
  planning meeting and schedules a fix for any single cause above 10% of budget.
- Below 25% remaining: risky changes (schema migrations, infrastructure moves,
  flag rollouts above 10% of traffic) need sign-off from the engineering lead.
- Exhausted (0% or below): feature freeze. Only the exceptions below ship
  until the SLO is met again over the rolling window.

## Freeze exceptions
- Fixes for P0 bugs and security vulnerabilities
- Changes that improve reliability or reduce budget burn
- Legal or compliance deadlines, approved in writing by the VP Engineering

## Postmortem triggers
- Any single incident that consumes more than 20% of the budget in the window
- Any budget exhaustion, whatever the cause
Every postmortem includes at least one prioritized action item for the root cause.

## Dependencies and exclusions
- Budget spent by a dependency outage counts against the SLO but does not by
  itself trigger a freeze for this team. It does trigger a review with the
  owning team.
- Maintenance windows are excluded only if users were told in advance.

## Escalation
Disagreements about the budget calculation or the actions above go to the
VP Engineering, who decides within two working days.

Why each section is there

Budget states, not a single cliff

A policy that only says "freeze at zero" gives the team nothing to do for the first three weeks of a bad month. Graduated states make the response proportional: look at the causes at half budget, slow the risky work at a quarter, stop at zero. Most of the policy's value is in the middle states, because they get acted on while there is still budget to protect.

Who decides

Name roles, not people, and name one decider for disputes. The two predictable arguments are "that outage was not our fault" and "this launch is too important to freeze". Both deserve an answer, and both should get the same answer whoever asks. The Workbook's example sends disagreements to the CTO. In a smaller organization a VP of Engineering or head of product works, as long as it is one person and they agreed to the role before the first dispute.

Exceptions

Keep the list short and make each exception need a named approver. Security fixes and reliability work are obvious. "Business critical" is not an exception category: every feature behind a freeze is somebody's business-critical feature, and an exception anyone can grant themselves turns the freeze into a suggestion.

Postmortem triggers

Tie postmortems to budget spent, not to the severity label someone picked during the incident. A 20% threshold, the figure the Workbook's example uses, catches incidents users felt even when they did not look dramatic at the time, and the action-item requirement stops postmortems from ending as narratives with no follow-through. The Workbook's example also escalates any class of outage that consumes more than 20% of the budget over a quarter into quarterly planning, which is a good second step once the basic policy is working.

Dependencies

This is where most policies get argued over. If a shared database or a cloud provider takes the budget, freezing the checkout team's features does nothing for users. Counting the budget honestly while routing the action to the owning team keeps the number truthful and the response useful. If the same dependency spends your budget every quarter, the conversation is about the dependency's SLO, or about designing checkout to survive without it.

Getting the policy agreed

A policy written by SRE and announced to product teams lasts until the first freeze. The ones that survive are negotiated:

  • Start from the data. Before proposing thresholds, show the last six months of SLO compliance. If the service would have been frozen four times, either the SLO is wrong or the reliability is, and that conversation has to happen before the policy does.
  • Make product a co-owner. The product manager signs alongside the engineering lead. The freeze trades features for reliability, and the person who owns the roadmap has to agree to that trade before it happens, not during.
  • Pilot it without teeth. Run the policy for one or two windows in report-only mode: publish the budget state weekly and note what the policy would have required. This finds bad thresholds and missing exceptions cheaply.
  • Get the escalation owner's signature first. The first freeze will be challenged. If the person who settles disputes has not signed, the policy is decided by whoever escalates loudest.
  • Schedule the review. Put a review date in the document. SLOs drift as products change, and a policy nobody revisits becomes a policy nobody follows.

Common failure modes

  • The budget never runs out. An SLO set well below current performance means the policy never acts. If the service has delivered 99.99% for a year against a 99.5% target, the budget is not measuring anything users notice. Tighten the target or admit the policy is decorative.
  • The budget always runs out. A target the service has never met produces a permanent freeze that everyone learns to ignore. Set the first SLO near current performance and tighten it once the policy has been followed through a freeze.
  • Freezes without a plan. Stopping features does not restore reliability. A freeze needs a list of the reliability work that happens instead, drawn from the postmortems that triggered it.
  • Exclusion creep. Each excluded incident ("planned", "dependency", "client bug") makes the number look better and leaves users no happier. Track excluded budget separately and review it with the policy.
  • Careless spending. Remaining budget is room for deliberate risk, such as a migration or an experiment. Shipping without tests because "we have budget" is not what it is for.
  • A wrong SLI. If the policy freezes the team while users are happy, or stays quiet while support tickets pile up, the measurement is the problem. Fix the SLI before arguing about thresholds.

Wiring the policy to your telemetry

The policy only works if everyone reads the same number. Put the remaining budget for each covered SLO on one dashboard that the policy names as the source of truth, and turn the budget states into notifications in their own right: a ticket to the team when budget drops below 50%, a message to the owners below 25%. Fast burns stay with the pager, and a burn that pages someone should also link to an on-call runbook.

In aiAxonIQ, SLOs & Error Budgets computes availability, latency, error-rate and custom-query SLIs from your traces and metrics on 7, 14, 28 or 90-day windows, with live remaining-budget views and burn-rate alerts routed to Slack, PagerDuty and webhooks. The policy is still yours to write and agree; the number it refers to does not have to be maintained in a spreadsheet.

Checklist

  • Name the SLOs, the window, and whether each budget is request-based or time-based.
  • Use a rolling window and one dashboard as the source of truth.
  • Define graduated budget states with an action at each one.
  • Keep exceptions short, each with a named approver.
  • Trigger postmortems on budget consumed, with a required action item.
  • Decide in advance how dependency outages are counted and who acts on them.
  • Name one decider for disputes and get their signature first.
  • Pilot in report-only mode, then review every six months.

Put this into practice with aiAxonIQ SLOs & Error Budgets.

More articles