Write PromQL for p99 latency from a histogram.
AdvancedConceptMonitoring and security
Answer
histogram_quantile(0.99, sum by (le) (rate(http_request_duration_seconds_bucket[5m])))
Keep le in the by clause, or the quantile can't be computed.
histogram_quantile(0.99, sum by (le) (rate(http_request_duration_seconds_bucket[5m])))
Keep le in the by clause, or the quantile can't be computed.