Pcornel
Browse topics
Options
Recent
Favorites
Observability · Technical reference

Error Budget Policy

Direct answer

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.

When to use this

Use it to make SLOs drive decisions.

First 30 seconds

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.

Operational verification

budget consumed → policy threshold → agreed action

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • 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.
Platform / version applicability
OpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformOpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
Scope / prerequisiteUse it to make SLOs drive decisions.
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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.

Key points

Agree the policy with product and engineering in advance. Include exceptions (security fixes) and who decides.

Key checks
  • 1 - ((1 - sli_30d) / (1 - 0.999)) — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool 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

PartExample
ScopeServices and SLOs it covers, and the SLO period (rolling 28 or 30 days)
OwnersWho decides, who can grant exceptions
Budget remaining > 0Normal release cadence; planned risky work allowed
Budget exhaustedFreeze non-urgent releases; reliability work first until back within SLO
Single incident consuming > 20 %Mandatory postmortem with action items
Recurring outage classTop priority item next planning period
EscalationDisagreements go to a named role, not decided case by case under pressure
ExceptionsSecurity 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

SLOBudget 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terminology layer

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.

Aliases that resolve here
error budget policyerror budget policyslo error budget
Confirmation

Confirm action

Continue?