Skip to content
News

SLO vs. SLA: What does it mean for a service to be working?

The uptime dashboard looks fine, but customers are still waiting for their exports. Learn the difference between an SLI, SLO and SLA, and how those terms inform a release decision.

Waves break below an angular building set into dark coastal rock.

The reporting service still accepts requests, so the uptime dashboard looks fine. Customers see things differently. They start an export before a meeting and find themselves refreshing the page, waiting for a download that used to take a couple of minutes. The product team has a release planned for Friday. Before deciding whether to ship it, they need a measurement that notices what customers are waiting for.

A service level indicator, or SLI, is the measurement. A service level objective, or SLO, is the target you set for it. A service level agreement, or SLA, describes the service you've committed to provide a customer and what happens if you miss the commitment. An SLO can help a team make a release decision even when the issue falls outside a customer agreement. Google's guide to service level objectives explains how these terms relate.

Large cylindrical machinery fills a cavern lit by small work lights.

Measure the part the customer waits for

Start timing when a supported export request is accepted. Stop when the finished file is available to download. A response saying the request was accepted can be useful for diagnosis, but it doesn't tell you when the customer got their report.

The team sets a target of 99.5% of eligible exports ready within five minutes. To measure it, look at requests submitted over the 28 days ending five minutes before you run the check. This gives even the most recent jobs in the window their full five minutes. A retry by a worker counts as another attempt at the same job, and the clock stays tied to the original request. An eligible export that never completes counts as a miss once its five minutes are up. Document what you count, including how you handle genuine customer cancellations, so a change in the query doesn't quietly change what's being measured.

TermWhat it meansWhat it looks like here
SLIWhat you measureThe percentage of eligible exports that are ready within five minutes.
SLOThe target and window for that measurementAt least 99.5% of eligible exports are ready within five minutes over a rolling 28 day window.
SLAThe commitment to customers, including the terms that apply if it is missedIn this example, the customer agreement covers application availability and has no separate export timing commitment.

The numbers and agreement in this example are fictional. In practice, look at the agreement your team uses and the measurement it names before concluding that a missed objective also affects a customer commitment.

Decide what you'll do when the service misses the target

With a 99.5% objective, the team can have up to 100 misses per 20,000 eligible jobs. That allowance is the error budget for the measured traffic. In this window, 110 reports became available late and 20 never became available. That leaves 19,870 ready on time, or 99.35%. That's 30 more misses than the budget allows.

It helps to have agreed how to respond before the release is on the calendar. For example, an exhausted budget could pause ordinary feature releases on the affected service while the team fixes the problem. The team can leave room for security and reliability fixes under its own review process. Google's example error budget policy shows how to put those decisions in writing.

Light catches a thin line of frost on a copper panel.

Give the team a way to get back on track

Here, most of the late jobs were submitted during the morning peak. Engineers pull a few affected job records and see the requests were accepted promptly but spent too long waiting to start. That explains why the uptime checks looked fine. The release lead delays a new export format, and the team tests a queue change using a mix of small and large reports modeled on the morning workload.

Before resuming feature releases, the team wants two pieces of evidence. The test should show that customers can get their reports on time at peak load, and the live measure should return to the agreed target. Keep an eye on groups such as customers who export large reports. A change can raise the overall percentage while leaving the same customers stuck. If engineers are still investigating the immediate failure, our incident management guide covers how to coordinate that work.

The next release discussion shouldn't start with a search for the old dashboard. Keep the SLO definition, the measurement link and the agreed release policy together in a Swarm Space. In the Space, a connected agent can turn the monitoring figures and test results you share into a short review that links back to both. A release lead can check the numbers and record the decision in a project decision log. The next person to ask when the export format will ship can see what the team is waiting for.

Water droplets cling to a green leaf beside a small metal fitting.
Swarm | SLO vs. SLA: The Difference, With an SLI Example