SynfraCore
Synfracore
Start Learning
Navigation

Academies

Platform

RoadmapsLabsCertificationsInterviewPYQsAI AssistantCareer
Start Learning Free Learning Roadmaps

SLOs & Error Budgets — Overview

What it is, why it matters, architecture and key concepts

📄
Last updated Nov 2026
Expert Content

SLOs & Error Budgets

Turn "be reliable" into a number you can manage against

Category: Monitoring & Observability

How this page is organized: why targets matter, the core learning modules, a worked production example, then interview prep.

Before you start: you should already be comfortable with what a metric and an alert are (see the Prometheus or Grafana tracks if not). No statistics background is required — every formula here is addition, subtraction, and division.


Why SLOs and Error Budgets?

"Make the system reliable" isn't an engineering target — it's a feeling. Two different engineers given that instruction will disagree about what "done" looks like, and neither can prove the other wrong. An SLO (Service Level Objective) replaces the feeling with a number: "99.9% of checkout requests succeed, measured over a rolling 30 days." Now everyone — engineering, product, support — is arguing about the same thing, and that number can be tracked, missed, and defended in a postmortem.

The error budget is what makes the number useful day to day, not just at review time. If the target is 99.9% success, the budget is the other 0.1% — the amount of failure you're explicitly allowed to spend before you've broken your promise. That reframes reliability work from "zero errors, always" (impossible, and expensive to chase) into "spend the budget deliberately" — on a risky migration, on a faster release cadence, on an experiment — rather than discovering by accident, mid-incident, that you were already out of room.

Analogy — An error budget works like a calorie budget, not a ban. Nobody on a diet aims to eat zero calories; they set a daily budget and spend it on the things that matter to them. A 0.1% error budget over 30 days is the same idea applied to a service: you're not trying to prevent every single failed request (unrealistic, and a bad use of engineering time near the margin), you're tracking how much of your allowed "spend" is left, and deciding deliberately where to spend it — ship the risky feature now while there's budget left, or hold it if last week's outage already used most of this month's allowance.

What an SLO Actually Measures

Three terms get used loosely outside SRE teams, but they mean distinct things:

•SLI (Service Level Indicator) — the raw measured signal: the actual success rate, the actual p99 latency, observed right now.
•SLO (Service Level Objective) — the internal target for that signal: "SLI should stay above 99.9%."
•SLA (Service Level Agreement) — the external, often contractual promise built on top of the SLO, usually with financial penalties for missing it.

The SLO should always be stricter than the SLA. If your SLA promises 99.9% to customers, setting your internal SLO at exactly 99.9% leaves zero room for normal operational noise — any bad week breaches a contract, not just an internal target. A common pattern sets the SLO a notch tighter (99.95%) so the team gets an early internal warning well before a customer-facing promise is actually at risk.

SLI
What's actually happening right now
SLO
Internal target set against the SLI
SLA
External promise, built with margin above the SLO

Learning Modules

Module 01 — Choosing SLIs and Setting Targets

Picking the right signal before picking a number

Topics covered:

•Request-based vs. windows-based SLIs — 🟢 Beginner
•Availability SLOs vs. latency SLOs — 🟡 Intermediate
•Why 100% is the wrong target — 🟡 Intermediate

The most common mistake is picking an SLI that's easy to measure rather than one that reflects what users actually experience. Server-side HTTP 200 rates are easy to collect, but a page that returns 200 with a broken checkout button looks perfectly healthy on that dashboard. A better SLI is measured as close to the user's experience as the system allows — client-side success/failure, or a synthetic check that exercises the real user flow, not just "did the server respond."

Module 02 — The Error Budget and Burn Rate

Turning the SLO into a number you watch day to day

Topics covered:

•Error budget formula and worked examples — 🟢 Beginner
•Burn rate — spending the budget faster than the window allows — 🟡 Intermediate
•Budget policies — what changes when the budget is gone — 🔴 Advanced

If the SLO is 99.9% over 30 days, the error budget is 0.1% of total requests over that window. At roughly 2.6 million requests a month, that's about 2,592 failed requests allowed — spend them evenly and you're fine; spend half of them in one bad afternoon and your burn rate is the real signal, not the monthly total in isolation.

Module 03 — Multi-Window, Multi-Burn-Rate Alerting

Why a single "error rate > X%" alert is the wrong design

Topics covered:

•Why single-threshold alerts are too slow or too noisy — 🟡 Intermediate
•Pairing a short window (fast, noisy) with a long window (slow, reliable) — 🔴 Advanced
•Alerting on budget burn rate, not raw error count — 🔴 Advanced

A short 5-minute window catches a fast-burning incident quickly but pages on noise. A long 6-hour window is reliable but slow to notice a real outage. Real burn-rate alerting pairs both: page immediately only when both windows agree something is burning budget faster than the SLO allows, which cuts false pages without losing fast detection of a genuine incident.

Short window alert
Fast to fire, catches a sudden spike, but noisy on its own
Long window alert
Reliable signal, but slow — a real outage could burn hours of budget before it fires alone

Production Example

bash
# Production Runbook — "the burn-rate alert just fired for the checkout SLO"

# Step 1: Confirm it's a real burn, not a blip in the short window alone
# Check whether the LONG window alert has also fired, or is close to firing.
# If only the short window is red, this may self-resolve — watch, don't page yet.

# Step 2: Quantify how much budget is actually gone this period
# budget_remaining = (SLO_target - current_period_success_rate) / (1 - SLO_target)
# e.g. target 99.9%, current period at 99.4%:
# (0.999 - 0.994) / (1 - 0.999) = 0.005 / 0.001 = already 5x over this period's allowance

# Step 3: Find what's actually failing — don't treat this as one undifferentiated number
# group errors by endpoint, region, and dependency before assuming root cause

# Step 4: Apply the error budget policy, not a judgment call made under pressure
# e.g.: budget exhausted this month -> feature freeze until budget resets,
# except security fixes -- this should already be a written, agreed policy,
# decided calmly beforehand, not negotiated live during the incident

# Step 5: After resolution, record the burn in the postmortem
# how much budget was spent, what the burn rate alert correctly (or incorrectly) caught

Interview Prep

Structure each answer below as Problem, then Solution, then Result — keep it to roughly a minute.

A Few Questions to Expect

Q1. What's the most common mistake teams make when picking an SLI?

A: Problem: teams tend to reach for whatever's easiest to pull off an access log, not what the user actually notices when things go wrong. Solution: a server-side 200-status rate is trivial to collect but blind to a page that loads fine and then fails on a broken button — the right SLI sits as close to the real user flow as the system can measure, even when that takes more instrumentation work. Result: picking the harder-to-collect but honest signal avoids a dashboard that looks green while real users are stuck.


Q2. Why bother with a latency SLO on top of an availability SLO?

A: Problem: a request that eventually returns 200 after eight seconds technically "succeeded," but nobody waiting on it experienced it that way. Solution: pairing a percentile latency target (p95 under some threshold) alongside the availability target, and often counting a too-slow response as a failure for availability purposes too, closes that gap. Result: the combined pair catches a class of user-visible breakage that a pure success/failure count would silently miss entirely.


Q3. Why pair a short alerting window with a long one instead of using just one?

A: Problem: a single threshold forces an impossible trade-off between catching real incidents fast and paging the on-call engineer over routine noise. Solution: requiring a short window and a long window to both cross the burn-rate threshold before paging keeps the fast detection while filtering out anything that resolves on its own before the longer window confirms it. Result: on-call load drops without losing the speed of catching a genuine, sustained incident.


See the Interview Q&A tab for more scenarios, and Cheatsheets for the formulas in one place.

Share:
Join our Community
Daily tips, job alerts, interview help — join engineers learning together
→
Up Next
🔤
SLOs & Error Budgets — Fundamentals
Core concepts and commands — hands-on from the start
Also Worth Exploring
← Back to all SLOs & Error Budgets modules
Prerequisites →