Bookmarks

SLO — service level objective

A quantitative target for a service quality indicator — the share of successful requests, latency, data freshness — that a team maintains over a chosen period.

Also: service level objectives, service level target

checked 9 Nov

All terms

An SLO is an internal guideline for a team: how many requests should succeed, how quickly pages should respond and how fresh the data may remain. The target is measured over a window — for example, four weeks — and monitored so the metric does not drop below it. Unlike an SLA, nobody is paid compensation for missing an SLO.

How SLIs, SLOs and the error budget fit together

An SLO is always built on top of an SLI — a specific measurement taken from monitoring. When the desired measurement is hard to capture, a substitute is used: server-side latency instead of client-side, for example. The target sets what share of measurements counts as successful, and everything left down to the target is the error budget: headroom for failures, updates and experiments.

ElementWhat it isExample
SLIa quality measurement: share of successful requests, latency, data freshness99.95% of requests faster than 300 ms
SLOtarget value of an SLI over a measurement window99.9% of successful requests over 30 days
Error budgetthe shortfall against the target that is allowed0.1% over a 30-day window — about 43 minutes of downtime

How a target is chosen

A target is not picked “just in case”: each additional nine costs more, while the benefit to users keeps shrinking. A target of 100% is unattainable in practice: any update or outage would break it, leaving the team no time for anything but firefighting. The internal target is often set stricter than the one promised to customers, so the team can spot and fix a problem before it becomes visible outside. It is realistic to start from the service’s current metric — a normal starting point — and refine the target with experience.

  • pick an SLI that genuinely reflects the user experience — most often the share of successful requests
  • set a target with headroom against the SLA: if a customer is promised 99.5%, the internal target is 99.9%
  • choose a measurement window — usually a rolling one; a whole number of weeks works well, four for example
  • calculate the error budget: the shortfall that can be spent on risks and updates
  • agree what to do once the budget is exhausted — for example, freeze changes and work on reliability

Origin of the term

The concept was established by Google’s book “Site Reliability Engineering” (2016): in it, an SLO is a target value or range of values for the service level that an SLI measures, while the error budget is the shared metric through which development and operations agree on acceptable risk.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • SLAservice level agreement

    An SLA is a contract with the customer: missing the level entitles them to compensation; an SLO is an internal team target with no payments.

  • SLIservice level indicator

    An SLI is the quality measurement itself, such as the share of successful requests; an SLO is the target set for that measurement.

In depth in the references

where the topic is covered in detail

Appears in the references