Fundamentalsservice level indicator
SLI
Definition
A service level indicator (SLI) is a carefully defined metric of service behaviour, usually expressed as good events divided by valid events.
In practice
Common SLIs are availability (non-5xx responses / all responses), latency (requests under a threshold / all requests), freshness and correctness. Expressing them as ratios makes them easy to compare against an SLO and to compute an error budget from.
Where you measure matters: server-side metrics miss failures that never reach the server, such as DNS or load balancer outages. Many teams combine load balancer logs with synthetic probes for a more honest picture.
Example
Latency SLI: the proportion of checkout requests, measured at the load balancer, that complete in under 400 ms.