mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-09 08:32:26 -04:00
Merge pull request #18336 from sakuuj/patch-1
docs: change 'standard variance' to 'variance', fix 'stdvar' description
This commit is contained in:
commit
dd19e08663
3 changed files with 40 additions and 40 deletions
|
|
@ -459,7 +459,7 @@ the zero bucket and for buckets with custom boundaries, the arithmetic mean is u
|
|||
For the usual exponential buckets, the geometric mean is used. Float samples are ignored
|
||||
and do not show up in the returned vector.
|
||||
|
||||
Similarly, `histogram_stdvar(v instant-vector)` returns the estimated standard
|
||||
Similarly, `histogram_stdvar(v instant-vector)` returns the estimated
|
||||
variance of observations for each native histogram sample in `v`.
|
||||
|
||||
## `hour()`
|
||||
|
|
@ -866,7 +866,7 @@ over time and return an instant vector with per-series aggregation results:
|
|||
* `count_over_time(range-vector)`: the count of all samples in the specified interval.
|
||||
* `quantile_over_time(scalar, range-vector)`: the φ-quantile (0 ≤ φ ≤ 1) of all float samples in the specified interval.
|
||||
* `stddev_over_time(range-vector)`: the population standard deviation of all float samples in the specified interval.
|
||||
* `stdvar_over_time(range-vector)`: the population standard variance of all float samples in the specified interval.
|
||||
* `stdvar_over_time(range-vector)`: the population variance of all float samples in the specified interval.
|
||||
* `last_over_time(range-vector)`: the most recent sample in the specified interval.
|
||||
* `present_over_time(range-vector)`: the value 1 for any series in the specified interval.
|
||||
|
||||
|
|
|
|||
|
|
@ -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 deviation 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
|
||||
|
|
|
|||
|
|
@ -518,8 +518,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -838,8 +838,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -1153,8 +1153,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -1581,8 +1581,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
</p>
|
||||
|
||||
<p>
|
||||
Similarly, <code>histogram_stdvar(v instant-vector)</code> returns the estimated standard variance of
|
||||
observations for each native histogram sample in <code>v</code>.
|
||||
Similarly, <code>histogram_stdvar(v instant-vector)</code> returns the estimated variance of observations for
|
||||
each native histogram sample in <code>v</code>.
|
||||
</p>
|
||||
</>
|
||||
),
|
||||
|
|
@ -1597,8 +1597,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
</p>
|
||||
|
||||
<p>
|
||||
Similarly, <code>histogram_stdvar(v instant-vector)</code> returns the estimated standard variance of
|
||||
observations for each native histogram sample in <code>v</code>.
|
||||
Similarly, <code>histogram_stdvar(v instant-vector)</code> returns the estimated variance of observations for
|
||||
each native histogram sample in <code>v</code>.
|
||||
</p>
|
||||
</>
|
||||
),
|
||||
|
|
@ -1958,8 +1958,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -2109,8 +2109,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -2219,8 +2219,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -2329,8 +2329,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -2545,8 +2545,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -2655,8 +2655,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -3137,8 +3137,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -3247,8 +3247,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -3357,8 +3357,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -3623,8 +3623,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -3733,8 +3733,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -3843,8 +3843,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
@ -3953,8 +3953,8 @@ const funcDocs: Record<string, React.ReactNode> = {
|
|||
specified interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>stdvar_over_time(range-vector)</code>: the population standard variance of all float samples in the
|
||||
specified interval.
|
||||
<code>stdvar_over_time(range-vector)</code>: the population variance of all float samples in the specified
|
||||
interval.
|
||||
</li>
|
||||
<li>
|
||||
<code>last_over_time(range-vector)</code>: the most recent sample in the specified interval.
|
||||
|
|
|
|||
Loading…
Reference in a new issue