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