Which function would you use to calculate the 95th percentile latency from histogram data?
To calculate a percentile (e.g., 95th percentile) from histogram data in Prometheus, the correct function is histogram_quantile(). It estimates quantiles based on cumulative bucket counts.
Example:
histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket[5m])) by (le))
This computes the 95th percentile request duration across all observed instances over the last 5 minutes.
Stephanie
5 months agoRochell
5 months agoTequila
6 months agoLeontine
6 months agoCasie
6 months agoJoana
6 months agoCristal
6 months agoCarissa
7 months agoCarmen
7 months agoDahlia
7 months agoRaina
7 months agoVanesa
8 months agoAlayna
8 months agoLinsey
8 months agoLarae
8 months agoKaran
8 months agoJean
8 months agoPearline
9 months agoHelaine
9 months agoWillow
9 months agoRia
9 months agoEleonore
9 months agoMila
10 months agoCassandra
10 months agoGeorgeanna
10 months agoFrank
4 months agoKimbery
5 months agoMiesha
5 months agoDannie
5 months agoCaprice
10 months ago