histogram_quantile operator calculates the φ-quantile (0 ≤ φ ≤ 1) from the buckets of a histogram. This operator is specific to the Prometheus Histogram data type and does not work with non-Prometheus histograms. It is equivalent to the PromQL histogram_quantile()
The following PromQL query to measure the 99th quantile of the
It would be written in Sumo as:
metric=apiserver_request_latencies_bucket | quantize using max | delta | histogram_quantile(0.99)
You must include the
quantize and delta clauses to get the same results as the PromQL query would produce.