The on-call rotation that quits is the one that gets paged on noisy alerts. Every alert that fires without a corresponding action — disk at 80% on a node that never fills, a synthetic check that flaps every Tuesday at 3 AM, a “high latency” alert that triggers any time someone pushes a CI job — trains the rotation to ignore the channel. Six months later, the real alert comes in and the on-call has stopped looking. The alert that wakes someone at night is a contract: it says “something is wrong that you, personally, need to act on right now.” Every alert that breaks that contract erodes the next one.
SLOs and error budgets are the discipline that makes that contract real. An alert that fires only when the error budget is burning faster than the policy allows is, by construction, an alert that demands action. The other alerts — the symptom-of-a-symptom alerts, the cause-based alerts, the “this looks weird” alerts — become dashboards or tickets, not pages. This article is about how to build that discipline without buying a vendor product to do it for you.
SLI / SLO / SLA — the actual definitions
Three terms, frequently confused, with concrete differences:
SLI — Service Level Indicator. A quantitative measure of some aspect of the service. “Fraction of HTTP requests that returned a non-5xx status in under 500 ms.” It is a ratio between 0 and 1, computed over a window. An SLI is a measurement, not a target.
SLO — Service Level Objective. A target for the SLI over a window. “99.9% of HTTP requests return a non-5xx status in under 500 ms over a rolling 30-day window.” This is an internal commitment from the team to the rest of the business. It is the number that drives the error budget.
SLA — Service Level Agreement. A contractual commitment to a customer, with consequences for breach (refunds, credits). The SLA target is always weaker than the SLO target. If your SLO is 99.9%, the SLA is 99.5% or 99.0% — never 99.9%, because by the time you breach the SLO you should still have margin before the SLA breach has commercial impact.
Most teams call their internal target an “SLA” and then never enforce it. The right mental model: SLI is what you measure, SLO is what you commit to internally, SLA is what you commit to externally with a financial penalty. The error budget is the unreliability you are permitted between perfection and the SLO.
Choosing SLIs that matter to the user
The first failure mode of SLO programs is picking SLIs that nobody outside the engineering team cares about. CPU utilization is not an SLI. Pod count is not an SLI. The number of nginx workers is not an SLI. These are operational signals that may or may not correlate with user experience.
Good SLIs measure what the user experiences:
- Request success ratio. Fraction of requests that returned a non-error status. The non-error definition matters: a 200 OK that returned
{"error": "transient"}in the body is not a success. The SLI definition has to include the application-level success check, not just the HTTP status. - Latency (p95 or p99). The 95th or 99th percentile of request duration over the window. A p95 SLO says 95 out of 100 requests are below the threshold; a p99 SLO says 99 out of 100 are. p99 is harder to hit but better reflects tail-latency outliers that the loudest users will notice.
- Freshness. For data pipelines: how old is the most recent successful update. “95% of dashboard views show data less than 5 minutes old.”
- Throughput. For batch systems: jobs completed per hour. “99% of batch windows process the expected work before the next window starts.”
- Correctness. For systems that can return wrong answers (recommendation, search): the fraction of responses that pass a validation check.
The test for whether an SLI is good: if it goes from 0.999 to 0.99, does anybody outside the engineering team notice. If the answer is no, it is not a user-facing SLI.
Setting SLOs honestly — 99.9% is not always the answer
The default SLO most teams reach for is 99.9% (three nines, ~43 minutes downtime per month). Sometimes that is right. Often it is wrong in either direction.
Too strict — a marketing page committed to 99.99% uptime is paying the cost of a four-nines design (HA, multi-region, sub-30-second failover) for a service where 30 minutes of downtime would be invisible to revenue. The cost of an SLO is real: every nine costs roughly 10x the engineering effort of the previous one, and that effort is paid in change velocity (the team ships less because the bar is higher).
Too loose — a checkout API that runs at 99.0% is having 7 hours of downtime per month. Every hour of that is leaving revenue on the table. The SLO needs to be set such that the error budget is uncomfortable but achievable.
The honest SLO-setting process:
- Measure first. Look at the actual SLI over the last 90 days. What is the achieved level today.
- Ask the business. What is the impact of a 1-hour outage. What about a 10-minute one. The number that creates real commercial pain is the floor.
- Pick an SLO slightly tighter than the achieved level. If you are achieving 99.95% today, set the SLO at 99.9%. You have some headroom; you also have to defend it.
- Document the budget consequence. What happens when the budget burns. Slowdown in deploys? Engineering time reallocated to reliability? This has to be agreed before the budget burns, not during.
The “stretch SLO” anti-pattern — set the SLO above what you are achieving today, hope to grow into it — never works. The team learns within one window that the SLO is aspirational, and from then on it is ignored.
Error budget math — the burn-rate alert formula
An error budget is the inverse of the SLO. A 99.9% SLO over a 30-day window allows 0.1% errors. Over 30 days of requests, that is a specific number of allowed errors, but the more practical view is rate: the SLO permits errors at a rate of 0.1% sustained.
Burn rate is the current error rate divided by the allowed rate. A burn rate of 1.0 means you are using up the budget exactly as fast as the SLO allows — you will end the window at 0% remaining. A burn rate of 2.0 means you will use the entire 30-day budget in 15 days. A burn rate of 14.4 means you will use the entire 30-day budget in just over 2 days.
The fundamental formula for the burn-rate alert is: alert when the burn rate over some window is high enough that, if it continued, the budget would be exhausted before some fraction of the window.
The Google SRE workbook formalized this with multi-window multi-burn-rate alerts — instead of a single threshold, four combinations of window length and burn rate threshold, each catching a different class of incident:
- Fast page — burn rate 14.4x over 1 hour AND 14.4x over 5 minutes. Catches a sharp outage that will consume the whole budget in 2 days. Wakes the on-call.
- Slow page — burn rate 6x over 6 hours AND 6x over 30 minutes. Catches a sustained degradation that will burn the budget in 5 days. Wakes the on-call.
- Fast ticket — burn rate 3x over 24 hours AND 3x over 2 hours. Catches a slower drift. Opens a ticket; not paged.
- Slow ticket — burn rate 1x over 72 hours AND 1x over 6 hours. Catches a baseline shift. Opens a ticket.
The “AND over a short window” condition is what kills the false-positive rate. A burn rate that has lasted 5 minutes but not 1 hour is probably noise (a deploy, a transient blip). A burn rate that has lasted both 5 minutes and 1 hour is real.
Multi-window multi-burn-rate alerts
The two-axis matrix is the right way to think about which burn rate catches which incident:
The PromQL for the fast-page alert, given an SLO of 99.9%:
# burn rate over 1h
(
sum(rate(http_requests_total{job="api",code=~"5.."}[1h]))
/
sum(rate(http_requests_total{job="api"}[1h]))
) / 0.001 > 14.4
AND
# AND burn rate over 5m
(
sum(rate(http_requests_total{job="api",code=~"5.."}[5m]))
/
sum(rate(http_requests_total{job="api"}[5m]))
) / 0.001 > 14.4
The 0.001 divisor is the allowed error rate (0.1% for a 99.9% SLO). The 14.4x threshold corresponds to “would burn the entire 30-day budget in 2 days.” See actionable-http-latency-alerts for the matching latency-SLO version.
Symptom-based vs cause-based alerting
The defining question for an alert: does it fire on something the user is experiencing, or on something an engineer thinks might cause a problem.
Symptom-based alerts fire on user-facing signals — error rate, latency, freshness. These are the SLO-driven alerts. They are stable across infrastructure changes: if the user is having a good time, the alert is quiet, regardless of what is happening under the hood.
Cause-based alerts fire on possible upstream causes — disk at 80%, CPU at 90%, replication lag at 30 seconds. These are the alerts that wake the on-call at 3 AM to a problem that has no current user impact. They train the rotation to either silence the alert or to expect every page to be a false positive.
The right policy: symptom-based alerts page, cause-based alerts go to a dashboard or a daytime ticket queue. Disk at 80% is a Tuesday-morning ticket. Disk at 95% on the database primary is a page only if there is no headroom to grow the volume and the application can’t tolerate even short read-only mode. “Replication lag at 30 seconds” pages if and only if the SLO is violated by it — otherwise it is a yellow dashboard panel.
Some operational alerts do need to page — security events, backup failures, certificate expiry within 48 hours — but they should be the exception, not the rule. The default is symptom-based.
Alert hygiene
The mechanics that make the alert rotation survivable:
Runbook link in every alert. Every alert that pages must include a URL to a runbook. The runbook lists: what the alert means, what to check first, the three to five most common causes with remediation, and escalation criteria. Without this, the on-call’s first 10 minutes are spent figuring out what the alert is.
Alert ownership. Every alert belongs to a team. The alert that fires without an owner is the alert nobody fixes. The team that owns the alert is the team that gets paged when it fires, and the team that has to make it less noisy if it fires too often.
Suppression rules. Alertmanager inhibition rules silence downstream alerts when an upstream cause is firing. If the database is down, the alert “request latency high” should not also fire — the inhibition rule suppresses it. This keeps the on-call focused on the one real problem instead of triaging a wall of red.
Alert review cadence. Once a month, the team reviews the last 30 days of pages. For each: was the page necessary, was the runbook good, did the alert fire too late or too early. Alerts that no longer fire on real incidents get retired. Alerts that fire too often get tuned or split.
On-call rotation discipline. The on-call schedule has to be predictable, fairly distributed, and compensated. Senior engineers do Sev-1 escalation, not first-line pages. The first-line on-call handles routine alerts; senior engineers are paged when the first-line escalates. Stack Harbor’s Managed Operations practice follows this pattern: phone routes to the account manager, technical escalations route to the support desk, Sev-1 escalations go to senior on-call.
What to do when alerts fire — the IRA pattern
When the page fires, the response has three phases, in order:
Investigate. Confirm the alert is real. Open the dashboard linked in the alert. Check the runbook’s “what to check first” section. Confirm scope (one customer, one region, everyone). Document findings in the incident channel. The investigation phase is over when you can name the failure mode in one sentence.
Repair. Mitigate first, fix second. Mitigate is “stop the user-visible pain” — failover, rollback, scale, redirect traffic. Fix is “make this not happen again,” which is post-incident work. The on-call’s job is to mitigate, not to root-cause in real time. The temptation to dig into the cause before mitigating is the most common amplifier of incident duration.
Audit. After the incident, a post-mortem within five business days. Timeline, customer impact, contributing factors, what worked, what did not, follow-up actions with owners and dates. The audit is what turns the incident into a durable improvement instead of a war story. Without it, the same incident happens again in six months.
Post-incident: error budget reset vs absorb
The window after a major incident is the most common moment for SLO programs to fall apart. The budget has been spent, the team is exhausted, and the temptation is to either (a) reset the budget to pretend it did not happen, or (b) absorb the burn and watch the team enter a deploy freeze for the rest of the window.
The honest answer:
- If the incident reflects a systemic gap the team is now fixing: absorb the burn. The deploy freeze is the cost of the fix.
- If the incident was a one-off with low chance of recurrence: do not reset the budget, but adjust the SLO window to start fresh in the next regular window boundary, not at the incident time. The budget for the current window is gone; the next window starts when scheduled.
- Never silently reset the budget mid-window. The whole point of the budget is that it is the source of truth. A budget that gets reset out of band is not a budget.
When alerting is so loud the on-call burns out
Sometimes the on-call rotation reports — sometimes in resignation letters — that the channel is unsurvivable. The right response is a focused fix, not “we’ll get better at it”:
- Pull the alert volume by day for the last 30 days. Identify the top 5 noisiest alerts. They probably account for 70% of the volume.
- For each noisy alert: kill, retune, or route to a ticket queue. Cause-based alerts that have not corresponded to a real incident go to the ticket queue. Symptom-based alerts that fire on noise (a flaky check, a too-tight threshold) get retuned.
- Cap pages per shift. A rotation that handled more than 5 pages in a single shift had an incident, not a normal shift. If 5-page shifts happen more than once a month, the alerting is broken, not the team.
- Audit the runbook quality. The on-call should not be reading source code at 3 AM. The runbook is the difference between a 15-minute mitigation and a 90-minute one.
The metric that matters is “ratio of pages that led to an action.” A healthy rotation runs at 0.6 to 0.8. A broken rotation runs below 0.2 — most pages are noise, and the team knows it. Fixing the ratio is more important than any individual alert tuning.
See also
- Error-budget enforcement in practice — the conversation when burn rate hits 80% — the policy conversation
- SLO design for a 3-person SaaS team — sizing SLOs for small teams
- Error budgets in B2B SaaS — error-budget mechanics
- Actionable HTTP latency alerts — symptom-based alert recipes
- Prometheus alerting that does not page on noisy weekends — alert hygiene patterns
- Production observability on Kubernetes — Prometheus, Grafana, Loki, Tempo — the stack underneath the alerts