SLIs, SLOs and error budgets: The heart of SRE
100% reliability is the wrong target. How SRE teams pick a number users feel, turn the gap into an error budget, and decide when to ship.
By Gilaburu · · 5 min read

Ask a team how reliable their service should be and the first answer is usually "always up". It sounds right, and it is wrong. Users cannot tell 99.999% from 100%, because their own Wi-Fi, phone and browser fail far more often than that. Chasing the last fraction of a percent costs a fortune and freezes every release.
Site Reliability Engineering (SRE), the discipline Google described in its Site Reliability Engineering book, starts from a different question: how unreliable can we afford to be before users notice? The answer becomes a number, and that number becomes a budget you can spend. This post, part of our Foundations series, explains the three ideas that make it work.
Three letters, three layers

SLI, service level indicator. A measurement of something users care about, expressed as a ratio of good events to all events. For example: the share of HTTP requests that returned successfully in under 300 ms. Good SLIs measure what the user experiences, not what the server feels. CPU usage is not an SLI; a slow checkout page is.
SLO, service level objective. The target for an SLI over a time window. For example: 99.9% of requests are good, measured over a rolling 30 days. This is an internal goal, set by the team together with the product owner.
SLA, service level agreement. A contract with customers that says what happens if you miss a target, usually credits or refunds. SLAs are a business and legal decision. A sensible SLA is looser than the SLO, so the team gets an early warning long before money is at stake.
Common SLIs, grouped by the kind of service, are listed in the SLO chapter of the SRE book:
- Request-driven services (APIs, websites): availability, latency, quality.
- Pipelines (batch jobs, data processing): freshness, correctness, coverage.
- Storage: durability, plus availability and latency of reads and writes.
What the nines mean
It helps to translate percentages into time. Over a 30-day window:
| SLO | Allowed "bad" time per 30 days |
|---|---|
| 99% | 7 hours 12 minutes |
| 99.5% | 3 hours 36 minutes |
| 99.9% | 43 minutes 12 seconds |
| 99.95% | 21 minutes 36 seconds |
| 99.99% | 4 minutes 19 seconds |
Every extra nine cuts the room for error by ten. Going from 99.9% to 99.99% means a single bad deploy that takes five minutes to roll back already breaks the target. That level is possible, but it needs automated rollouts, redundancy across regions and a lot of engineering time, so it should be reserved for services that truly need it.
The error budget
Here is the idea that makes SLOs useful rather than decorative. If the target is 99.9%, then 0.1% of requests are allowed to fail. That 0.1% is the error budget. It is not a failure to be ashamed of; it is a resource the team can spend.

What do you spend it on? Mostly on change: new features, migrations, experiments and the risk that comes with them. The SRE book's chapter on embracing risk frames it as a way to settle the old argument between developers who want to ship fast and operators who want nothing to change:
- Budget left: ship. Releases, experiments and risky migrations are fine.
- Budget running low: slow down. Smaller changes, more testing, extra review.
- Budget gone: stop feature releases and spend the time on reliability work until the service is back within its SLO.
The important part is that this is agreed in advance, in a written error budget policy. When the budget runs out, nobody has to win an argument in the middle of an incident. The numbers decide. The SRE Workbook has a sample policy you can adapt.
Alerting on burn rate, not on every blip
SLOs also fix noisy paging. Instead of waking someone up whenever errors cross an arbitrary threshold, you alert on how fast the budget is being used, the burn rate.
A burn rate of 1 means you are spending budget at exactly the speed that would use it all by the end of the window. A burn rate of 14.4 means that, at this speed, a 30-day budget would be gone in about two days. Sustained for one hour, it has already eaten 2% of the month's budget. That deserves a page. A burn rate of 1.5 deserves a ticket for tomorrow, not a 3 a.m. phone call.
The Alerting on SLOs chapter of the workbook walks through several designs and recommends multiwindow, multi-burn-rate alerts: page only when the burn rate is high over both a long window (to prove it is significant) and a short one (to prove it is still happening). It is one of the most practical pages in the whole book.
How to start, without a big project
You do not need a reliability team or new tools to begin.
- Pick one user journey that matters, such as signing in or checking out.
- Choose one or two SLIs for it that you can already measure from your load balancer or application logs.
- Set an SLO slightly below what you achieve today. You can tighten it later; an SLO you miss every month teaches nothing.
- Write a one-page error budget policy and get the product owner to sign it.
- Review it monthly. If users complain while you are within the SLO, the SLI is measuring the wrong thing. If nobody notices when you miss it, the SLO is too strict.
Takeaways
- 100% is the wrong target. Pick the level users actually notice, and stop there.
- An SLI measures user experience, an SLO sets the internal target, an SLA is the external promise. Keep the SLA looser than the SLO.
- The gap between 100% and the SLO is an error budget. Spend it on shipping; protect it when it runs low.
- Alert on burn rate, so people get paged for things that threaten the SLO and nothing else.
In a later post we will look at how SRE fits together with DevOps and platform engineering, and why the three are complementary rather than competing.
Sources and further reading
- B. Beyer, C. Jones, J. Petoff, N. R. Murphy (eds.), Site Reliability Engineering, O'Reilly (2016), especially Service Level Objectives and Embracing Risk
- B. Beyer et al. (eds.), The Site Reliability Workbook, O'Reilly (2018), especially Implementing SLOs and Alerting on SLOs
- Google Cloud blog (Medium), How to alert on SLOs
Get new posts by email
A short note in your inbox when we publish, with a link to the full post here. Free, sent through Substack.
Read on Medium? Follow us there
See more of our posts in Google Top Stories.

