Use it to make SLOs drive decisions.
Error Budget Policy
An error budget policy states what happens when the budget is spent — e.g. freeze risky releases and prioritise reliability work until the SLO recovers.
1. Remaining budget: 1 - ((1 - sli_30d) / (1 - 0.999)) on the SLO dashboard.
2. Policy documented and agreed.
3. Actions when exhausted.
4. Exceptions defined.
5. Review quarterly.
budget consumed → policy threshold → agreed action
Context & applicabilityCommon mistakes · platform/version boundaries
- Policy written but never enforced — releases continue while the budget is exhausted.
- SLO targets set to 100 % or higher than dependencies can deliver.
- No agreed exception process for urgent security fixes.
- Budget windows too short, causing constant freezes.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 How to verify Verify boundary
Confirm the policy was followed the last time the budget was low.
Step 2 Common failures Narrow the fault
An SLO set at 100% leaves no budget and blocks all change. A policy nobody follows makes SLOs decorative. Counting planned maintenance inconsistently distorts the budget.
Agree the policy with product and engineering in advance. Include exceptions (security fixes) and who decides.
1 - ((1 - sli_30d) / (1 - 0.999))— first check for this topiccurl -s localhost:9090/-/ready— Prometheus readycurl -s 'localhost:9090/api/v1/query?query=up'— scrape targets up/downpromtool check config prometheus.yml— config valid
ReferenceWhat it is1 section · depth on demand
How it works
The budget turns reliability into a shared resource. Spending it on planned risk (deploys, experiments) is fine; exhausting it shifts focus to reliability work.
ReferenceImportant terms & boundaries2 sections · depth on demand
Policy example
- Budget > 0: normal feature releases.
- Budget exhausted: freeze non-critical releases; focus on reliability work until the 30-day window recovers.
- Single incident using > 20 % of budget: mandatory postmortem with action items.
- Disagreements escalated to the agreed owner (e.g. head of engineering).
Agree the policy with product owners in advance; without it, SLOs are only numbers.
In depth
What a policy contains
| Part | Example |
|---|---|
| Scope | Services and SLOs it covers, and the SLO period (rolling 28 or 30 days) |
| Owners | Who decides, who can grant exceptions |
| Budget remaining > 0 | Normal release cadence; planned risky work allowed |
| Budget exhausted | Freeze non-urgent releases; reliability work first until back within SLO |
| Single incident consuming > 20 % | Mandatory postmortem with action items |
| Recurring outage class | Top priority item next planning period |
| Escalation | Disagreements go to a named role, not decided case by case under pressure |
| Exceptions | Security fixes and legal requirements always ship |
Making it real
- Agree it before it is needed — product, engineering and operations sign it.
- Show remaining budget on the team dashboard next to the release pipeline.
- Review it after each use: was the freeze useful, too strict, too loose?
Budget arithmetic
| SLO | Budget per 30 days |
|---|---|
| 99 % | 7 h 12 min |
| 99.5 % | 3 h 36 min |
| 99.9 % | 43 min 12 s |
| 99.95 % | 21 min 36 s |
| 99.99 % | 4 min 19 s |
Each extra nine cuts the allowed downtime by a factor of ten and usually multiplies the cost of achieving it. An SLO stricter than what dependencies (network, cloud provider, database) deliver cannot be met by the service alone.
Spending the budget deliberately
A healthy budget is permission to take risk: faster releases, experiments, planned maintenance during the day. A budget that is never spent suggests the SLO is looser than users need — or that the team is moving more slowly than it could.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.