Where should you measure an SLI, and what are the trade-offs?
AdvancedConceptSLIs, SLOs & SLAs
Answer
| Point | Pros | Cons |
|---|---|---|
| Application metrics | Rich labels, easy | Misses requests that never reach the app (LB failures, crashed pods) |
| Load balancer / ingress | Sees all server-side failures, one place | Misses client network and DNS problems |
| Synthetic probes | Tests the full path from outside | Low volume, only tests scripted paths |
| Client / RUM | True user experience | Noisy, delayed, includes users' own network issues |
In production we usually take the SLI from the load balancer or ingress (for example ALB or NGINX ingress metrics) and back it with synthetic probes for low-traffic paths.
More on SLIs, SLOs & SLAs
Define SLI, SLO and SLA with an example of each.BeginnerWhy should the SLA be looser than the SLO?BeginnerWhy are SLIs best expressed as a ratio of good events to valid events?IntermediateWhat is the difference between request-based and time-based (window-based) SLIs?AdvancedWhat types of SLIs exist beyond availability and latency?IntermediateWhich responses should count as "bad" in an availability SLI?Intermediate