What is the difference between an SLI, an SLO and an SLA?
Sketch your own answer first, then compare it with the one below.
A strong answer
An SLI, a service level indicator, is a measurement of service quality, usually a ratio of good events to all events. For example, the share of requests that succeed in under 300 ms.
An SLO, a service level objective, is a target for an SLI over a period, for example 99.9 percent over 30 days. It is an internal goal that guides decisions.
An SLA, a service level agreement, is a promise to a customer, often with consequences such as credits if it is missed. The SLO should be stricter than the SLA so the team notices trouble before it costs money.
Pick the SLI from what users experience. "The process is up" is not an indicator.
Sources
- Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy (2016). Site Reliability Engineering, chapter: Service Level Objectives.