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