UA50 ground tooling: merge latency histograms before computing P95
A fleet dashboard can display a plausible P95 while answering the wrong question. If each worker reports its own percentile, averaging those numbers does not recover the percentile of the combined observations. Weighting those percentiles by request count does not generally repair the information loss. Commercial disclosure: UNITED UAV sells the UA50 agricultural aircraft . The product listing…
When computing the P95 (95th percentile) of a set of durations, it is crucial to consider the entire population and choose a statistic that accurately reflects the combined observations. Averaging individual worker percentiles does not necessarily yield the correct pooled P95. To ensure accurate results, workers should write down the metric definition, unit, outcome filter, population labels, and observation window before aggregating the data.
Additionally, defining a histogram with precise boundaries and using a left insertion method helps retain information about slow samples that may fall into an overflow bucket.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to