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
4 months agoRochell
4 months agoTequila
4 months agoLeontine
4 months agoCasie
4 months agoJoana
5 months agoCristal
5 months agoCarissa
5 months agoCarmen
5 months agoDahlia
6 months agoRaina
6 months agoVanesa
6 months agoAlayna
6 months agoLinsey
6 months agoLarae
7 months agoKaran
7 months agoJean
7 months agoPearline
7 months agoHelaine
7 months agoWillow
7 months agoRia
8 months agoEleonore
8 months agoMila
8 months agoCassandra
8 months agoGeorgeanna
9 months agoFrank
3 months agoKimbery
3 months agoMiesha
3 months agoDannie
3 months agoCaprice
8 months ago