Monitoring

SLIs, SLOs and SLAs: What Each One Means

By CapStatus Editorial Team · · 5 min read

Three similar abbreviations cause constant confusion in reliability work: SLI, SLO and SLA. They sound like synonyms, yet each plays a distinct role. Mixing them up leads to vague promises, confused teams and targets nobody can measure.

The simplest way to separate them is to think of a measurement, a goal and a promise. The measurement is the indicator, the internal goal is the objective, and the promise made to customers is the agreement. This article explains each, shows how they connect and offers tips for setting them sensibly.

SLI: The Measurement

A service level indicator is a quantitative measure of some aspect of your service's behavior. It answers the question: how are we doing right now, in numbers?

Good SLIs describe what users experience. Common examples include:

  • Availability: the proportion of requests that succeed.
  • Latency: the proportion of requests answered faster than a chosen time.
  • Error rate: the proportion of requests that fail.
  • Freshness: how recent the data is that users see.
  • Durability: the proportion of stored data that remains intact.

Most SLIs are expressed as a ratio of good events to total events over a period. That form is easy to understand and compare. For example: the number of successful requests divided by all requests in the last thirty days.

Choose a few indicators that match real user journeys. Measuring ten dozen things dilutes attention. Measuring CPU load is rarely an SLI, because users do not feel CPU; they feel slow pages and failed actions.

SLO: The Target

A service level objective is the target value for an SLI over a set time window. It states how reliable you intend the service to be. For example, "99.9 percent of requests succeed over a rolling thirty-day window" is an SLO built on an availability SLI.

An SLO is an internal commitment. It guides engineering decisions: when to ship quickly, when to slow down and fix reliability, and how to prioritize work. It is not a legal promise, so missing it triggers conversation and action rather than penalties.

Setting a target of one hundred percent is a common mistake. Perfect reliability is impossible, extremely expensive to approach, and it makes changes feel too risky. Users also rarely notice the difference between very high and perfect, especially since their own devices and networks fail more often. Pick a level that matches what users need and what you can sustain.

The Error Budget

An SLO implies an error budget: the amount of unreliability you can tolerate. If the objective is 99.9 percent success, the budget is the remaining 0.1 percent of requests that may fail in the window.

The budget turns reliability into a shared resource. While plenty remains, the team can ship features and run experiments. When it is nearly spent, the team puts effort into stability until the budget recovers. This gives developers and operations a common, data-based way to decide, instead of arguing from instinct.

SLA: The Promise

A service level agreement is a formal contract between a provider and a customer. It states what level of service is promised and what happens if the provider misses it, such as service credits or other remedies defined in the agreement.

An SLA is a business and legal document, not just a technical one. It usually has defined measurement methods, exclusions such as planned maintenance, and a process for claiming remedies.

A healthy practice is to set the SLA looser than your internal SLO. If your objective is stricter than your promise, you will often catch problems and fix them before they breach the contract. Setting the two equal leaves no safety margin.

How They Fit Together

Think of the three as layers:

  1. SLI: what you measure, such as the fraction of successful requests.
  2. SLO: the goal for that measurement, such as a target over thirty days.
  3. SLA: the external promise, with consequences, usually less strict than the SLO.

Not every service needs all three. An internal tool may have SLIs and an SLO but no SLA, since there is no external customer contract. A small business offering a paid service may need an SLA mostly because customers ask for one.

Tips for Choosing Good Targets

  • Start from user needs. Ask what level of failure users would tolerate before they get annoyed or leave.
  • Use history. Measure current performance first, then set a target slightly above or near it, rather than inventing a number.
  • Keep the list short. A few well-chosen SLOs are easier to track and act on than many.
  • Pick sensible windows. A rolling window of several weeks smooths out noise, while a very short window makes the target jumpy.
  • Review regularly. As your product and customers change, adjust the targets.
  • Be explicit about measurement. Document where the data comes from, which requests count and what is excluded.

Common Mistakes

Teams often measure from the server's point of view only. A service can report success while users face timeouts, because the failure happens before the request reaches the server. Where possible, measure close to the user, for example at the load balancer or with synthetic checks from outside.

Another mistake is publishing a customer SLA before you have reliable data. Collect SLI data for a few months, understand your real performance, then decide what you can promise.

Frequently Asked Questions

Can a service have an SLO without an SLA?

Yes, and this is very common. Internal services and many consumer products have objectives that guide engineering work but no formal contract with remedies. An SLA only becomes necessary when customers need a written commitment, which is typical in business-to-business relationships.

What is the difference between availability and uptime?

The terms are often used loosely as the same thing, but availability based on request success is usually more meaningful than simple server uptime. A server can be running yet returning errors. Defining availability as the share of good requests reflects what users experience, so it makes a better indicator.

How many SLOs should a small team set?

Start with one to three per important service, typically covering availability and latency of the main user journey. Add more only when you have a clear reason and the capacity to monitor and act on them. A small set that people actually use beats a long list that gets ignored.

Related reading