Operations and security 4 min read Updated
Service levels and error budgets
In short
A service level objective sets a measurable reliability target, and the error budget is the amount of failure that target still allows.
A service level objective (SLO) turns the wish that a service should be reliable into a number a team can measure and act on. An error budget then decides when a team keeps releasing and when it stops. Start with the three terms, because they are easy to mix up. The examples come from Google’s Site Reliability Engineering book, which sets out the approach in more detail.
Three terms do three different jobs
The vocabulary is short, but the terms are easy to mix up. The book defines each one in a single sentence.
- Service level indicator (SLI): a carefully defined quantitative measure of some aspect of the level of service that is provided.
- Service level objective (SLO): a target value or range of values for a service level that is measured by an SLI.
- Error budget: the rate at which the SLOs can be missed.
The SLI is the measurement, the SLO is the goal you set against it, and the error budget is what remains of the failure you have allowed. Define the SLI first, because a target without a measurement cannot be checked.
Choose a target you can meet
The book does not expect a service to be perfect. It recommends tracking the error budget on a daily or weekly basis, because insisting on full compliance is unrealistic and undesirable. A good objective names a threshold, a measurement window and the population of requests it applies to. The table shows examples from the book. They illustrate the shape of an objective and are not targets to copy.
| Example from the book | What it shows |
|---|---|
| 99% of Get RPC calls complete in less than 100 ms, averaged over 1 minute | A threshold, a window and a measured population |
| 99.999% of queries served per quarter | A quarterly objective leaves an error budget of 0.001% |
| A failure rate of 0.0002% of expected queries | Uses 20% of that quarter’s error budget |
Working on something similar in your own product? A few honest sentences are enough – we read every enquiry and reply by email. Apply with your idea
Use the budget to decide on releases
The error budget is most useful as a shared record that product and operations teams both read. While measured reliability stays above the SLO, the team can keep releasing new code. A large remaining budget allows more risk, while a nearly empty one encourages product teams to add testing or slow their own pushes. Outages caused by network or datacentre failures also consume the budget, so they can reduce releases for the rest of the period.
The book also notes that a team struggling to launch features may be tempted to loosen the SLO so that the budget grows. Treat any change to a target as a product decision, and write down the reason for it.
When the budget is spent, pause releases
When the budget is exhausted, the book describes releases being temporarily halted. The team then invests in testing and resilience work until the system is more reliable. You can act earlier by slowing or rolling back releases as the budget nears depletion. This approach works only if someone has the authority to stop launches, which is why it requires an SRE team that holds that authority.
A checklist to start
- Choose one measure that matches what users experience, such as the share of requests that succeed or finish within a set time.
- Measure the service for a few weeks before you set a target, so the target reflects what really happens.
- Set a target the service can meet most of the time, and write down the measurement window.
- Calculate the remaining budget and show it on a dashboard, daily or weekly.
- Agree in advance what the team will do when the budget is low and what it will do when the budget is spent.
- Review the target each quarter, and change it only with a recorded reason.
Alerts that warn you before the budget is gone are covered in the article on monitoring and alerts. For the response after a serious incident, read the article on incident response. For release practices that keep the budget safe, see Releases and rollbacks you can reverse.
A summary of chapters of Google’s Site Reliability Engineering book. The figures are examples taken from the book, not recommended targets for your service. Measure your own service before you set a target.
Common questions
- Should the target be 100% availability?
- No. The Site Reliability Engineering book says that insisting on full compliance is unrealistic and undesirable, so a target should be one the service can meet most of the time.
- What is the difference between an SLI and an SLO?
- An SLI is the measurement, such as the share of requests completed within a threshold. An SLO is the target that the measurement is compared with.
- Who decides when releases stop?
- The book describes releases being halted when the budget is spent, which needs an SRE team with the authority to stop launches. Agree that rule before the budget runs low.
Sources
- Service Level Objectives, Google, Site Reliability Engineering book. Accessed 24 November 2026
- Embracing Risk, Google, Site Reliability Engineering book. Accessed 24 November 2026
Further reading
-
Monitoring and alerts for a small product
Alert on what users experience, and keep pages for problems that need a person to act now.
-
Incident response for a small team
A small team handles an incident well when roles, severity levels and the first hour are agreed before anything breaks.
-
Releases and rollbacks you can reverse
Small, frequent releases are easier to test and easier to reverse than large ones, so plan the way back before you ship.
Have an idea that should exist? Or a working product that needs more customers, a new website or a complete rework? Bring us anything. Apply with your idea