Course contentsShow
← System Design
Lesson 1272 of 1,91932. Monitoring and AlertingFree lesson

What Are Service Level Indicators (SLIs)

Define SLIs as quantifiable metrics that measure specific aspects of service quality from the user's perspective.

What Are Service Level Indicators (SLIs)

You'll learn: How SLIs turn abstract service quality into measurable numbers that reflect actual user experience.

Understanding SLIs

A Service Level Indicator (SLI) is a carefully chosen quantifiable metric that measures a specific aspect of your service's quality from the user's perspective. Think of SLIs as the vital signs of your system—just like a doctor measures heart rate and blood pressure to assess health, SLIs measure concrete behaviors like request success rate or response time to assess service health.

The key distinction: SLIs focus on what users actually experience, not just internal technical metrics. While you might track CPU utilization internally, an SLI measures whether requests complete successfully within acceptable time limits—something users directly feel.

Why SLIs Matter

SLIs bridge the gap between raw monitoring data and meaningful service promises. They answer questions like:

  • "Are users getting fast responses?"
  • "Are requests completing successfully?"
  • "Is the service available when users need it?"

Common SLI examples include:

  • Availability: Percentage of successful requests (e.g., 99.9% of HTTP requests return 2xx/3xx status)
  • Latency: Proportion of requests faster than a threshold (e.g., 95% of requests complete in < 200ms)
  • Error Rate: Percentage of requests that fail (e.g., fewer than 0.1% return 5xx errors)

The User-Centric Lens

SLIs differ from general metrics because they're outcome-focused. You're not just tracking "database query time"—you're measuring "percentage of API requests completed within 500ms" because that's what determines user satisfaction.

Key Takeaway: SLIs are carefully selected, user-facing metrics that quantify specific aspects of service quality—they're the foundation for measuring whether your system delivers on its promises.