Course contentsShow
← Software Engineering
Lesson 1171 of 1,93335. Monitoring and AlertingFree lesson

Understanding Service Level Indicators (SLIs)

Learn what SLIs are, how they quantify service behavior, and why they form the foundation of reliability measurement.

Understanding Service Level Indicators (SLIs)

You'll learn: How SLIs quantify service behavior to form the bedrock of reliability measurement and decision-making.

What Are SLIs?

A Service Level Indicator (SLI) is a carefully selected metric that measures a specific aspect of your service's reliability from the user's perspective. Think of SLIs as the vital signs of your system—just as doctors monitor heart rate and blood pressure to assess health, you monitor SLIs to assess service reliability.

SLIs typically measure availability (is it up?), latency (is it fast?), error rate (is it working correctly?), and throughput (can it handle the load?). For example:

  • Availability SLI: "99.5% of HTTP requests returned a non-5xx status code"
  • Latency SLI: "95% of API requests completed in under 200ms"
  • Error rate SLI: "99.9% of transactions completed without data corruption"

Why SLIs Matter

SLIs transform vague notions of "service quality" into objective, measurable numbers. Without SLIs, reliability discussions become subjective ("the service feels slow") rather than data-driven ("p95 latency increased 40% this week").

SLIs also connect directly to user experience. You don't measure what's easy to measure; you measure what users actually care about. Internal CPU metrics matter less than whether requests complete successfully and quickly.

From SLIs to Action

SLIs form the foundation for setting reliability targets (Service Level Objectives), defining acceptable failure budgets, and determining when alerts should fire. They guide prioritization: if your latency SLI is degrading but availability is fine, you know where to focus engineering effort.

Key Takeaway: SLIs are quantifiable measurements of specific service behaviors that reflect user experience—they turn reliability from a feeling into a number you can track, discuss, and improve systematically.