promql.promHistogramQuantile() function

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

For more information, see Function type signatures.

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.


Was this page helpful?

Thank you for your feedback!