2.0 KiB
2.0 KiB
title | description | menu | weight | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
promql.promHistogramQuantile() function | `promql.promHistogramQuantile()` implements functionality equivalent to [PromQL's `histogram_quantile()` function](https://prometheus.io/docs/prometheus/latest/querying/functions/#histogram_quantile). |
|
201 |
promql.promHistogramQuantile()
implements functionality equivalent to
PromQL's histogram_quantile()
function.
Important: The internal/promql
package is not meant for external use.
Function type signature
(
<-tables: stream[A],
?countColumn: string,
?quantile: float,
?upperBoundColumn: string,
?valueColumn: string,
) => stream[B] where A: Record, B: Record
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
Parameters
tables
Input data. Default is piped-forward data (<-
).
quantile
Quantile to compute ([0.0 - 1.0]
).
countColumn
Count column name.
upperBoundColumn
Upper bound column name.
valueColumn
Output value column name.