Choosing the Right SLI

The SRE Workbook's SLI taxonomy and how to pick which to measure for which service.

Overview

The most consequential observability decision

A bad SLI makes a service look healthy while users are unhappy; a good SLI fires when users feel pain. The SRE Workbook (Ch 2) names six SLI types, each for a different kind of work.

The kind of work decides which types apply. Request/response work is judged by availability and latency. Work that can degrade gracefully adds quality. A data pipeline is judged by freshness and coverage, and a streaming system by throughput.

Key concepts

  • Availability SLI
  • Latency SLI
  • Quality SLI
  • Freshness SLI
  • Coverage SLI
  • Throughput SLI

Interview questions

  • How do you choose an SLI for a service?
  • For a Kafka consumer, what SLIs do you use?
  • What's the difference between latency and quality SLIs?

Sign up free to read the full topic

More SRE topics

Start free on Cariara · Coding problems · System design studio