Why are averages misleading for latency?
IntermediateConceptObservability Fundamentals & Signals
Answer
Latency distributions are long-tailed. If 99 requests take 50 ms and 1 takes 5 s, the average is about 100 ms, which hides that 1% of users wait 5 s. At high fan-out (one page calling 20 services), nearly every page view hits some service's p99.
So we track percentiles (p50, p95, p99, p99.9) from histograms, and SLOs are expressed as "99% of requests under 300 ms" rather than "average under 100 ms".
More on Observability Fundamentals & Signals
What is the difference between monitoring and observability?BeginnerWhat are the "three pillars" of observability, and what is the fourth signal people now add?BeginnerWhen would you reach for metrics, logs, traces or profiles during an incident?BeginnerWhat are the four Prometheus metric types?BeginnerWhy should you never use a gauge to count requests?BeginnerHistogram vs summary: what is the real difference, and which do you choose?Intermediate