mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs/MetricsQL.md: document that histogram_share()
accepts optional boundsLabel
arg
This commit is contained in:
parent
c7bd0f5082
commit
6b2c85d6bf
1 changed files with 2 additions and 0 deletions
|
@ -1052,6 +1052,8 @@ See also [histogram_quantile](#histogram_quantile).
|
|||
`histogram_share(le, buckets)` is a [transform function](#transform-functions), which calculates the share (in the range `[0...1]`)
|
||||
for `buckets` that fall below `le`. This function is useful for calculating SLI and SLO. This is inverse to [histogram_quantile](#histogram_quantile).
|
||||
|
||||
The function accepts optional third arg - `boundsLabel`. In this case it returns `lower` and `upper` bounds for the estimated share with the given `boundsLabel` label.
|
||||
|
||||
#### histogram_stddev
|
||||
|
||||
`histogram_stddev(buckets)` is a [transform function](#transform-functions), which calculates standard deviation for the given `buckets`.
|
||||
|
|
Loading…
Reference in a new issue