mirror of
https://github.com/prometheus/prometheus
synced 2026-04-20 22:41:05 +08:00
docs: clarify 'stdvar' operator description
Updated the description of the stdvar operator to clarify that it calculates variance instead of standard variance. Signed-off-by: Pavel Rysnik <126406830+sakuuj@users.noreply.github.com>
This commit is contained in:
@@ -400,7 +400,7 @@ vector of fewer elements with aggregated values:
|
||||
* `count_values(l, v)` (count number of elements with the same value)
|
||||
|
||||
* `stddev(v)` (calculate population standard deviation over dimensions)
|
||||
* `stdvar(v)` (calculate population standard variance over dimensions)
|
||||
* `stdvar(v)` (calculate population variance over dimensions)
|
||||
* `quantile(φ, v)` (calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions)
|
||||
|
||||
These operators can either be used to aggregate over **all** label dimensions
|
||||
@@ -563,7 +563,7 @@ an info-level annotation.
|
||||
|
||||
#### `stdvar`
|
||||
|
||||
`stdvar(v)` returns the standard variance of `v`.
|
||||
`stdvar(v)` returns the variance of `v`.
|
||||
|
||||
`stdvar` only works with float samples, following IEEE 754 floating
|
||||
point arithmetic. Histogram samples in the input vector are ignored, flagged by
|
||||
|
||||
Reference in New Issue
Block a user