mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs/MetricsQL.md: add the list of supported ... functions
lines just before the corresponding lists
This improves the readability a bit
This commit is contained in:
parent
8b3989ba39
commit
e0e7c14788
@ -80,6 +80,8 @@ MetricsQL provides the following functions:
|
||||
|
||||
See also [implicit query conversions](#implicit-query-conversions).
|
||||
|
||||
The list of supported rollup functions:
|
||||
|
||||
#### absent_over_time
|
||||
|
||||
`absent_over_time(series_selector[d])` returns 1 if the given lookbehind window `d` doesn't contain raw samples. Otherwise it returns an empty result. This function is supported by PromQL. See also [present_over_time](#present_over_time).
|
||||
@ -377,6 +379,8 @@ See also [implicit query conversions](#implicit-query-conversions).
|
||||
|
||||
See also [implicit query conversions](#implicit-query-conversions).
|
||||
|
||||
The list of supported transform functions:
|
||||
|
||||
#### abs
|
||||
|
||||
`abs(q)` calculates the absolute value for every point of every time series returned by `q`. This function is supported by PromQL.
|
||||
@ -717,6 +721,8 @@ See also [implicit query conversions](#implicit-query-conversions).
|
||||
|
||||
See also [implicit query conversions](#implicit-query-conversions).
|
||||
|
||||
The list of supported label manipulation functions:
|
||||
|
||||
#### alias
|
||||
|
||||
`alias(q, "name")` sets the given `name` to all the time series returned by `q`. For example, `alias(up, "foobar")` would rename `up` series to `foobar` series.
|
||||
@ -803,6 +809,8 @@ sum by (__name__) (
|
||||
|
||||
See also [implicit query conversions](#implicit-query-conversions).
|
||||
|
||||
The list of supported aggregate functions:
|
||||
|
||||
#### any
|
||||
|
||||
`any(q) by (group_labels)` returns a single series per `group_labels` out of time series returned by `q`. See also [group](#group).
|
||||
|
Loading…
Reference in New Issue
Block a user