Common SLI Metrics: Availability, Latency, and Throughput
You'll learn the three most widely used SLI metric types and when each best measures your service's health.
The Core Metrics
When choosing SLIs for your service, three metrics dominate the landscape: availability, latency, and throughput. Each captures a different dimension of user experience.
Availability
Availability measures the proportion of requests that succeed versus fail. Think of it as "uptime" from the user's perspective—when they try to use your service, does it work?
When to use: Essential for almost every service. Users need your system to respond successfully. Typically measured as a percentage: "99.9% of requests returned non-error responses."
Example SLI: (successful_requests / total_requests) × 100
Latency
Latency measures how long requests take to complete. It's not enough that your service works—it must respond quickly enough to feel useful.
When to use: Critical for user-facing services where speed matters. Measure at percentiles (p50, p95, p99) rather than averages to capture tail latency that affects real users.
Example SLI: "95% of requests complete within 200ms."
Throughput
Throughput measures the volume of requests your service handles successfully over time (requests per second). It reflects your system's capacity and load-handling capability.
When to use: Important for capacity planning and detecting traffic anomalies. Less commonly a direct SLI for user experience, but valuable for operational health. Often paired with latency—high throughput shouldn't degrade response times.
Example SLI: "Service handles 10,000 requests/second with <300ms p99 latency."
Choosing the Right Fit
Most services need both availability and latency SLIs. Throughput often serves as a supporting metric rather than a standalone SLI, helping you understand whether performance degradation stems from load.
Key Takeaway: Availability tells you if your service works, latency tells you how fast it works, and throughput tells you how much work it handles—choose SLIs that align with what your users actually care about.