Nines are easier to agree on than "it works stably". SLIs and SLOs translate reliability from opinions into numbers everyone understands — including people far away from kubectl. But the main product of an SLO is not even the number but the shared language: an engineer and a manager both understand what "99.9%" means and how it differs from "99%".
Three letters you can't do without
| Concept | What it is | Example |
|---|---|---|
| SLI — indicator | measuring the share of good events | the share of successful HTTP responses over a window |
| SLO — objective | target share of good events | 99.9% of successful requests over 28 days |
| Error budget | how far you can deviate while the SLO holds | 43 minutes of downtime per month |
SLI: share of successful requests over 28 days
SLO: 99.9% → error budget 43 minutes / month
SLO: 99.5% → 3.6 hours / month
SLO: 99.0% → 7.2 hours / month
The difference between "three nines" and "two and a half" is a fivefold difference in allowed stops. Not an abstraction but concrete minutes you can "spend".
What the error budget gives you
- An honest priority. The budget is burning — reliability matters more than features; we freeze releases and fix the platform. The budget is intact — we can take risks. The decision stops being a dispute of "engineers vs product": the number dictates it.
- Burn-rate alerts, not "CPU > 80%" thresholds: they speak about the user experience, not about internals.
- A conversation with the business without translation. "80% of the monthly budget is spent" is a phrase that needs no slides afterwards.
Burn-rate alerts in practice
Burn rate is the speed of budget consumption. The two-window ruleset (fast + slow) is the standard, FedRAMP-grade SRE practice:
groups:
- name: slo
rules:
# fast burn: 5% of the monthly budget spent in an hour
- alert: SLOBurnRateFast
expr: |
(
sum(rate(http_requests_total{code=~"5.."}[1h]))
/
sum(rate(http_requests_total[1h]))
) > (14.4 * 0.001)
for: 5m
labels:
severity: critical
# slow burn: all day slightly below the norm
- alert: SLOBurnRateSlow
expr: |
(
sum(rate(http_requests_total{code=~"5.."}[6h]))
/
sum(rate(http_requests_total[6h]))
) > (1 * 0.001)
for: 30m
labels:
severity: warning
The point of two windows: the fast one catches acute outages, the slow one catches quiet degradations that don't wake anyone at night but eat the whole budget over a week.
An SLO dashboard — four panels
- SLI over 28 days — the level itself against the target line.
- Budget remaining — in percent, with a forecast of exhaustion.
- Burn rate — the last 24 hours, with both alert lines.
- Major events — deploys and incidents overlaid, to see the connection.
Where to start
- One or two SLOs on the main user path. For most products that's "successful requests" and "latency". Twenty SLOs are a way to track none of them and believe none of them.
- A 28-day window, not a month. A rolling window doesn't "reset" on the first day of the month: last weeks' suffering doesn't vanish at the end of a calendar month.
- The SLI covers all users, not the average: averaging over a region hides a regional outage behind a green mean.
An SLO is not an on-call team's KPI but a contract between the product and reliability. The error budget is its currency, and it should be spent consciously: on a risky deploy or on an honest downtime.
How to compute an SLI when there are no "proper" metrics
The classic excuse: "we have no metrics — what SLOs". An SLI can be assembled from what you already have:
- Logs. The share of records with
level=erroror 5xx codes among all request records — an honest proxy indicator, computed in the log store by a query once a minute and exported as a metric (e.g. via vmalert/record). - Reverse proxy aggregates. nginx/traefik already count status codes:
requests_total{code=~"2.."}on the frontend is a ready availability SLI. - Synthetic probes. A blackbox probe once a minute is the cheapest "the service responds at all" SLI (counted as successful probes over a window).
- Business events. "Orders that reached the paid status vs created" — via a queue/DB, once every 5 minutes by an exporter script.
An ugly SLI that exists beats a perfect one that "we'll build later".
Typical implementation mistakes
| Mistake | Why it's dangerous | The right move |
|---|---|---|
| 20 SLOs "for everything" | none of them are tracked, all budgets are "roughly intact" | 1–2 on the main user path |
| The SLI as an average | a regional outage hides behind the green overall number | a per-region/per-instance slice — separately |
| A "calendar month" window | on the first day the suffering is forgotten | rolling 28 days |
| There is a budget, no decisions | "budget burning" triggers nothing | write down the policy in advance: burning → release freeze |
| An SLO without an owner | nobody revises or defends it | owner = the service team |
SLOs in Jira and planning
- The budget as a ticket: at 80% budget consumption a "degradation review" ticket with an owner is created automatically — before the SLO is violated, not after.
- A report for the quarterly review: the fact "we held 99.9% → 60% of the budget spent" takes one report line and is clear to a manager without context.
- A postmortem with the budget: "the incident burned 40% of the monthly budget" is more concrete than "some users had Problems". The number disciplines.