Why are SLIs best expressed as a ratio of good events to valid events?
IntermediateConceptSLIs, SLOs & SLAs
Answer
A ratio is bounded between 0 and 100%, comparable across services, and maps directly to an error budget (1 - SLO of the valid events may be bad). It also scales with traffic: a 1-minute blip at 3 AM costs less budget than the same blip at peak, which matches real user impact. The format is:
SLI = good events / valid events
availability: non-5xx responses / all responses excluding health checks
latency: responses under 300 ms / all responses
More on SLIs, SLOs & SLAs
Define SLI, SLO and SLA with an example of each.BeginnerWhy should the SLA be looser than the SLO?BeginnerWhat is the difference between request-based and time-based (window-based) SLIs?AdvancedWhere should you measure an SLI, and what are the trade-offs?AdvancedWhat types of SLIs exist beyond availability and latency?IntermediateWhich responses should count as "bad" in an availability SLI?Intermediate