How to Diagnose Latency Using p50, p90, and p99

The Median Vs. the Mean, and a breakdown of what each percentile Is attempting to tell you From what I have experienced most app. observability dashboards start with an average because it is familiar and easy to calculate. If an exporter gives you the usual histogram _sum and _count metrics, rate(sum) / rate(count) gives you mean latency, but the number it produces is not necessarily representative of what a typical request experienced. Latency distributions are usually right-skewed. Most requests might complete within a relatively narrow range while a small number take significantly longer, and those slower requests can pull the mean away from the centre of the distribution. Percentiles
…