ObservabilityIntermediate

SLOs and Error Budgets That Actually Work

DeveloperHat Team
17 min read

TL;DR

Most SLOs are numbers nobody acts on. Pick SLIs users feel, set targets you can afford, and turn the error budget into a freeze-or-ship rule that ends the reliability argument.

Most teams that adopt SLOs end up with the same artefact: a dashboard full of nines nobody acts on, and an on-call rotation that still pages on CPU thresholds. The SLOs exist, the reliability argument continues exactly as before, and the only thing that changed is that someone now has to maintain the dashboards. The problem is rarely the math. It is that the team adopted the vocabulary without adopting the mechanism — and the mechanism is the error budget, used as a decision rule.

The vocabulary comes from Google's SRE work, and the SRE Book is still the primary source for it. An SLO is a target for a service level indicator over a stated window — say, 99.9% of requests succeed over a rolling 30 days. The error budget is what is left over: 1 − SLO, or 0.1% of requests. In time terms, that is 43.2 minutes of allowed unavailability in a 30-day month. The budget is the point. It turns "how reliable should we be?" from an opinion into a quantity the team can spend, run out of, and argue about with numbers instead of adjectives.

The short version up front: pick SLIs that measure what users feel, set the SLO one step below what you can already hold, write down an error budget policy before the first incident, and alert on burn rate — not on the SLO itself. Everything below is the detail that makes each of those four steps hold up.

SLIs, SLOs and error budgets — the chain that turns reliability into a number Measure what users feel, set a target on it, and the gap between the two is a budget you can spend. SLI what users feel SLO target on the SLI Error budget 1 − SLO to spend Policy freeze or ship 99.9% over 30 days 43.2 minutes to spend Burn rate how fast it is spent An SLO is an internal target, not a contract — the SLA is the contract, and it should sit below the SLO.

The vocabulary, precisely

Four terms, and the confusion between them causes most of the damage:

  • SLI (service level indicator): the measurement. A ratio of good events to valid events over a window, or a proportion of time the service was available. Examples: the fraction of checkout requests that returned a 2xx in under 500ms; the fraction of minutes the API answered at all.
  • SLO (service level objective): the target set on an SLI. "99.9% of checkout requests succeed within 500ms over a rolling 30 days." It is an internal target. It is not a promise to customers.
  • SLA (service level agreement): the contract, usually with financial consequences. It should sit below the SLO — if your SLO is 99.9%, your SLA might be 99.5% — so that breaching the contract means you already blew past your own target and had time to react.
  • Error budget: 1 − SLO. The failure you are allowed to spend in the window. A 99.9% SLO gives you 0.1% — 1,000 bad requests out of a million, or 43.2 minutes of downtime in a 30-day month.
  • Two properties matter and both get skipped. First, an SLI is a ratio, not a count: "99.9% of requests" means the same thing at 100 requests a minute and at 100,000, which is why it survives growth. Second, the window is rolling, not calendar: a calendar month lets a bad week hide behind a fresh month, and lets a team start January with a full budget after a terrible December. A rolling 30-day window keeps the memory honest.

    Choosing SLIs that measure what users feel

    An SLI should answer "is the user getting what they asked for?" from the user's side of the boundary. The four families that cover almost every service:

    SLI familyGood eventWho it is for
    AvailabilityRequest returns a non-errorAny request-serving API
    LatencyRequest completes under a threshold users tolerateInteractive services, checkout, search
    FreshnessData is no older than the age users acceptFeeds, dashboards, search indexes
    Correctness / durabilityRequest produces the right result, data is not lostPayments, storage, queues

    The common failure is measuring what is easy instead of what matters. CPU utilisation, pod restarts, queue depth — these are useful signals for diagnosis, but they are not SLIs, because a user can have a terrible experience while every one of them looks green, and a perfect experience while they look alarming. If the SLI cannot be explained to a product manager in one sentence, it is the wrong SLI.

    Latency SLIs deserve one extra decision: the percentile. A p50 latency SLO is nearly meaningless — half your users can be suffering while the number holds. A p99 is the honest one for interactive services, and it is also the expensive one to hold, because the tail is where cold starts, retries and slow dependencies live. The SRE Book's worked examples use targets like 90% of requests under 450ms and 99% under 900ms — two thresholds, not one — which is a pattern worth copying: a lenient bar for most requests and a strict bar for the tail.

    The error-budget pipeline — from a user request to a freeze-or-ship decision User experience — requests, latency, errors as the user sees them SLI instrumentation — good events / valid events, recorded at the edge SLO evaluation — rolling 30-day window, burn rate = error ratio ÷ budget Error budget — remaining allowance, visible to everyone, not just SRE Policy gate + alerting — freeze launches when empty, page on fast burn Remove any layer and the one above it is guesswork — a policy on unmeasured reliability is just a meeting.

    What each nine costs

    The nines table is arithmetic, and every team should do it once before promising a number:

    SLOError budgetDowntime per 30 daysErrors per 1M requests
    99%1%7 hours 12 minutes10,000
    99.5%0.5%3 hours 36 minutes5,000
    99.9%0.1%43.2 minutes1,000
    99.95%0.05%21.6 minutes500
    99.99%0.01%4.32 minutes100

    Read the jump from 99.9% to 99.99%: your entire monthly margin for error shrinks from 43 minutes to just over 4. The engineering cost of holding a target climbs far faster than the nines do — each extra nine is roughly a step-change in architecture: single-AZ with retries gets you to 99%, multi-AZ with automated failover to 99.9%, and 99.99% is a different system with different failure modes, different on-call load, and a different bill. A good rule from the SRE Book: set the SLO one step below what the service can already hold comfortably. An SLO you miss every month teaches the team to ignore SLOs; an SLO you hold with room to spare gives you a budget you can actually spend on risky launches.

    Never copy a vendor's nines. A cloud provider's 99.99% is a contractual SLA backed by their infrastructure and their credits; your service on top of it inherits their downtime and adds your own. Your SLO is yours to set, and it should reflect what your users notice, not what a marketing page claims.

    The error budget policy — the part teams skip

    A budget with no policy is a number on a dashboard. The policy is the written rule, agreed by engineering and product before the first incident, that says what happens as the budget drains. A workable one fits on one page:

  • Budget above 50% remaining: ship normally. The budget exists to be spent on change.
  • Budget between 25% and 50%: new launches need a reliability review; risky changes wait for a quiet window.
  • Budget below 25%: feature freeze. The team works on reliability until the budget recovers — and recovery is real, because the window is rolling: as the bad days age out, the budget comes back.
  • Budget at 0%: all launches frozen, no exceptions except fixes that restore reliability. This is the rule that has to be agreed in advance, because in the moment, every launch feels like the exception.
  • The freeze is the mechanism that makes the whole system work. Without it, the SLO is a report; with it, the SLO is a negotiation that happens once, in writing, instead of every week in a meeting. Two honest warnings: a freeze that product never agreed to will be overridden at the first deadline, so get the signature before you need it; and a freeze only works if the budget is visible to everyone, not buried in an SRE dashboard nobody else opens. Put the remaining budget on the same page as the deploy button.

    Alerting on burn rate, not on the SLO

    Paging when the SLO dips below target is paging too late — by the time a 30-day average moves, the damage is done and the budget is gone. The right signal is the burn rate: the observed error ratio divided by the error ratio the SLO allows. A burn rate of 1 spends the budget exactly on schedule. A burn rate of 14.4 exhausts a 30-day budget in about 50 hours. A total outage — burn rate 1,000 — empties it in 43.2 minutes.

    The pattern that works is the multi-window, multi-burn-rate alert from chapter 5 of the SRE Workbook, "Alerting on SLOs". Each severity uses two windows: a long window that proves the burn is big enough to matter, and a short window — about one-twelfth of the long one — that proves it is still happening. The alert fires only when both windows agree, which kills the two classic failure modes of threshold alerting: the one-minute spike that pages nobody's sleep away, and the alert that keeps firing for an hour after the fix because the long window still contains the bad period.

    SeverityLong windowShort windowBurn rateBudget spent when it fires
    Page1 hour5 minutes14.42%
    Page6 hours30 minutes65%
    Ticket3 days6 hours110%

    The thresholds are derived from the SLO, not tuned by feel: at 99.9%, the 14.4× page rule fires when the 1-hour error ratio passes 1.44%. Change the SLO to 99.5% and every threshold scales by five without anyone re-tuning anything. In Prometheus, the rules look like this:

    # Recording rules: the error ratio per window
    groups:
      - name: checkout-slo
        rules:
          - record: job:slo_errors_per_request:ratio_rate1h
            expr: |
              sum by (job) (rate(http_requests_total{job="checkout",code=~"5.."}[1h]))
              /
              sum by (job) (rate(http_requests_total{job="checkout"}[1h]))
    
      - name: checkout-slo-alerts
        rules:
          - alert: CheckoutErrorBudgetBurnFast
            expr: |
              (
                job:slo_errors_per_request:ratio_rate1h > (14.4 * 0.001)
                and
                job:slo_errors_per_request:ratio_rate5m > (14.4 * 0.001)
              )
              or
              (
                job:slo_errors_per_request:ratio_rate6h > (6 * 0.001)
                and
                job:slo_errors_per_request:ratio_rate30m > (6 * 0.001)
              )
            labels:
              severity: page
            annotations:
              summary: "Checkout is burning its error budget at 6x or more"

    Note what is not in that file: no alert on the SLO value itself, no alert on raw error counts, and no fixed error-rate threshold that has to be re-tuned when traffic doubles. If writing these rules by hand feels like boilerplate, tools like Sloth generate them from an SLO definition — but read the generated rules once before trusting them, because the window arithmetic is the whole point and a generated rule you do not understand is a pager you cannot debug at 3am.

    How fast is the budget burning? The burn rate decides the response — and the short window confirms it is still happening. Burn rate over the window? error ratio ÷ (1 − SLO) 14.4x in 1 hour page — 2% gone 6x in 6 hours page — 5% gone 1x in 3 days ticket — 10% gone Both windows must agree before paging — the long window proves it matters, the short one proves it is live.

    Worked example: checkout at 99.9%

    Make it concrete. A checkout API handles about 1 million requests a month with a 99.9% SLO over a rolling 30 days. The budget is 1,000 bad requests. A 30-minute total outage — every request failing — burns at rate 1,000 for half an hour, which spends roughly 69% of the month's budget in one incident. That is the correct reaction: the incident was genuinely bad, and the team should feel it in the budget for weeks. But the same service can also absorb ten 3-minute partial outages at a 5% error rate without ever paging, because each one spends a fraction of a percent. That asymmetry is the feature: the budget forgives small, frequent failures and punishes the rare catastrophic one, which matches how users actually experience reliability.

    Now the decision the budget makes for you. The team wants to ship a new payment flow in the same week the budget sits at 20% remaining after that outage. The policy says no — reliability work first, launch when the window rolls forward and the budget recovers. Nobody has to argue about whether the launch is "safe enough", because the budget already answered it, and the answer was written down before anyone was invested in the launch date.

    Common failure modes

  • Copying the SLA into the SLO. The SLA is the floor with money attached; the SLO is the target you aim above it. Set them equal and the first bad week is a contract breach, not a warning.
  • Too many SLOs. A service with twelve SLOs has no SLOs — nobody can say which one is binding, and the budget policy cannot fire on all of them. Two or three per service: availability, latency, and one domain-specific one.
  • 100% SLOs. A 100% target has a zero error budget, which means the first error is a breach and the policy can never be satisfied. It also means the team can never deploy, because every deploy risks an error. If someone asks for 100%, they are asking for a service that never changes.
  • Alerting on availability instead of burn rate. An uptime alert fires when the service is already down; a burn-rate alert fires while the budget is draining, early enough to act. Keep the uptime alert as a backstop, but do not call it your SLO alerting.
  • SLIs measured from inside. An SLI computed from the service's own logs measures what the service thinks happened. Measure at the edge — the load balancer, the client, the synthetic probe — because the gap between "we returned 200" and "the user got their page" is where the real outages hide. Our Kubernetes monitoring guide covers where to put those probes, and our OpenTelemetry sampling guide covers how to keep the telemetry bill under control once you instrument at that depth.
  • The comparison

    ApproachWhat it costsWho it is for
    No SLOs, threshold alertsNothing to set up; pages on noise, silent on slow leaksA service with no on-call and no users to disappoint
    SLOs without a budget policyA dashboard and a meeting per quarterTeams that want the vocabulary without the argument it settles
    SLOs + budget policy + burn-rate alertsOne page of policy, one set of recording rules, discipline to freezeAny team with on-call and a launch cadence to protect
    SLOs everywhere, per endpointAlert fatigue and twelve budgets nobody can prioritiseNobody — start with two or three per service

    SLO targetDowntime per monthArchitecture it implies
    99%7h 12mSingle-AZ, retries, a runbook
    99.9%43.2mMulti-AZ, automated failover, tested restores
    99.99%4.32mMulti-region, chaos-tested, a dedicated reliability team

    Architecture Decision

    >

    Decision: Adopt SLOs with error budgets as a decision rule, not a reporting exercise: two or three SLIs per service measured at the edge, a rolling 30-day window, a written budget policy signed by engineering and product, and multi-window multi-burn-rate alerting in Prometheus. Set each SLO one step below what the service already holds.

    >

    Context: A team runs a checkout API and a handful of supporting services with an on-call rotation. Alerts today are fixed thresholds on error counts and CPU, which page on spikes and stay silent on slow leaks. Reliability arguments are settled per launch, in meetings, with no shared numbers.

    >

    Options considered: (a) Keep threshold alerting and skip SLOs. (b) Adopt SLOs as dashboards only. (c) Adopt SLOs with a budget policy and burn-rate alerting. (d) Buy an SLO platform and let it manage the targets. (e) Set 99.99% everywhere and hire for it.

    >

    Why this one: Option (a) is free and stays broken — it pages on noise and misses the slow burn that actually drains the budget. Option (b) adds maintenance without changing any decision. Option (d) is reasonable at scale, but the tool does not write the policy or get product's signature, which is where the value lives; buy it later, when you have more services than the hand-written rules cover. Option (e) confuses a target with a capability and buys an architecture the users never asked for. Option (c) is the only one that changes what happens next Tuesday: the budget, not a meeting, decides whether the launch goes out. The Workbook's chapter on implementing SLOs covers the rollout sequence — start with one service, one SLI, and a policy everyone has read.

    >

    What it costs you: One page of policy and the discipline to enforce it, plus the recording rules and a weekly review of the remaining budget. The first freeze will feel expensive, and it is — that is the budget doing its job. Teams that cannot stomach a freeze should not adopt SLOs, because the freeze is the product.

    >

    When to reverse it: When a service has no users, no on-call, and no launch cadence to protect, drop the SLOs and keep the threshold alerts — the ceremony costs more than it saves. When the team grows past the point where hand-written Prometheus rules are maintainable, move to a generated-rules tool like Sloth rather than abandoning the approach. And when the SLO is missed every month despite real reliability work, the target was wrong, not the team — lower it one step and try again, rather than training everyone to ignore it.

    Recommendation

    Start with one service, the one with the clearest user impact and the most painful on-call. Pick two SLIs — availability and latency — measured at the edge, over a rolling 30-day window. Set the SLO one step below what the service already holds, so the first month is a success and the budget is real. Write the one-page policy, get product's signature on it, and put the remaining budget where the team sees it every day. Add the three burn-rate rules from the Workbook and delete the fixed-threshold alerts they replace. Then do nothing else for a month: watch the budget move, watch the alerts fire or stay quiet, and let the team learn what the numbers mean before adding a third SLI or a second service. If you track DevOps metrics already, the budget is the one that tells you whether the other four are telling the truth.

    When not to use it

    Do not adopt SLOs for a service with no users and no on-call — a cron job that nobody pages on does not need a budget, it needs a log line. Do not set an SLO before you can measure the SLI honestly; an SLI computed from the service's own optimistic logs is worse than no SLI, because it certifies a reality that does not exist. Do not adopt SLOs during an incident or a launch freeze, when the budget starts at zero and the first thing the system says is "stop" — start in a quiet week. And do not let the SLO become the only reliability conversation: the budget tells you when to stop shipping, not what is broken, and the investigation still needs traces, logs and someone who knows the system.

    How long this guidance stays current

    The vocabulary and the arithmetic do not age: the SRE Book's definitions, the nines table, and the Workbook's 14.4/6/1 thresholds are stable and have been since the Workbook's publication. What ages is the tooling around it — generated-rules tools, SLO platforms, and the specifics of Prometheus recording-rule syntax — so re-check the tooling before standardising on one, and re-check the SRE Book's errata if you are citing a specific chapter. Versions and dates in this article are as checked on 23 November 2026.

    Why This Matters

    Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.

    Trade-offs to Consider

    Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.

    When NOT to Use This

    Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.

    Decision Framework

    Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.

    Share this articleShare on XShare on LinkedIn

    Keep the decision frameworks coming

    One practical architecture guide a week — patterns, trade-offs, and when not to use them. No spam, unsubscribe anytime.