Load Testing · Senior · Question 23 of 76

How do you get correct fleet-wide p99 from server-side histograms?

Show the answer

Correct answer: Sum histogram buckets across instances, then compute the quantile

Explanation

Percentiles can't be averaged. Bucketed histograms can be summed, e.g. histogram_quantile(0.99, sum by (le) (rate(...))) in Prometheus.

Further reading

Problem with a question

Load Testing · Senior · question 23

Test yourself

Take the Load Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz