mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-11 16:14:05 -08:00
Merge pull request #7522 from prometheus/beorn7/doc
Add an explanation for φ-quantile to the operators section
This commit is contained in:
commit
933aa367b4
|
@ -226,6 +226,11 @@ time series is the number of times that sample value was present.
|
||||||
the input samples, including the original labels, are returned in the result
|
the input samples, including the original labels, are returned in the result
|
||||||
vector. `by` and `without` are only used to bucket the input vector.
|
vector. `by` and `without` are only used to bucket the input vector.
|
||||||
|
|
||||||
|
`quantile` calculates the φ-quantile, the value that ranks at number φ*N among
|
||||||
|
the N metric values of the dimensions aggregated over. φ is provided as the
|
||||||
|
aggregation parameter. For example, `quantile(0.5, ...)` calculates the median,
|
||||||
|
`quantile(0.95, ...)` the 95th percentile.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
If the metric `http_requests_total` had time series that fan out by
|
If the metric `http_requests_total` had time series that fan out by
|
||||||
|
|
Loading…
Reference in a new issue