Question

What are SLAs, SLOs and SLIs?

Vault Verified
Curated Intelligence
Definitive Source
Answer

Three related things at different levels: an indicator is what you measure, an objective is the target you set internally, and an agreement is the contractual promise with consequences.

Service Level Indicator (SLI). A measurement of some aspect of service. Request success rate, latency at a given percentile, availability, throughput, or freshness of data.

Getting the indicator right is most of the work. It should measure what users actually experience — availability measured at the load balancer can look excellent while users receive errors from a downstream dependency. Measure from as close to the user as possible.

Percentiles rather than averages. An average latency conceals a badly affected minority; p99 tells you what the worst-served users experience, and is what people notice.

Service Level Objective (SLO). A target for an indicator over a window — for example, 99.9% of requests succeeding over 30 days. Internal, set by the team, and the number that actually drives decisions.

Why it should not be 100%. Perfect reliability is unattainable, and pursuing it is enormously expensive with diminishing returns. Users cannot distinguish 99.99% from 100%, because their own network and device are less reliable than that. Choosing a target below perfect is a deliberate decision about how much reliability is worth.

Error budget is the consequence, and it is the genuinely useful idea. 100% minus the SLO is the amount of unreliability you have permitted. A 99.9% objective over 30 days allows roughly 43 minutes of failure.

What the budget does: it converts reliability from an argument into a measurement. Budget remaining means shipping can continue; budget exhausted means stopping feature work and addressing reliability. It replaces a perpetual disagreement between development and operations with a shared number, which is its real function.

Service Level Agreement (SLA). A contract with a customer, specifying a level of service and the consequences of failing to meet it — usually service credits.

SLAs should be looser than SLOs, deliberately. You want to breach your internal objective and act on it long before you breach a contractual commitment.

Availability figures are meaningless without the measurement definition, which is where providers differ substantially.

Related Questions