mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs/keyConcepts.md: clarify that the number of ,
-delimited filters per each or
group can be arbitrary
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3997
This commit is contained in:
parent
dd2c2a6ac8
commit
070365c870
@ -829,8 +829,11 @@ either `{job="app1",env="prod"}` or `{job="app2",env="dev"}` labels:
|
||||
{job="app1",env="prod" or job="app2",env="dev"}
|
||||
```
|
||||
|
||||
The number of `or` filters can be arbitrary. This functionality allows passing the selected series
|
||||
to [rollup functions](https://docs.victoriametrics.com/MetricsQL.html#rollup-functions) such as [rate()](https://docs.victoriametrics.com/MetricsQL.html#rate)
|
||||
The number of `or` groups can be arbitrary. The number of `,`-delimited label filters per each `or` group can be arbitrary.
|
||||
Per-group filters are applied with `and` operation, e.g. they select series simultaneously matching all the filters in the group.
|
||||
|
||||
This functionality allows passing the selected series to [rollup functions](https://docs.victoriametrics.com/MetricsQL.html#rollup-functions)
|
||||
such as [rate()](https://docs.victoriametrics.com/MetricsQL.html#rate)
|
||||
without the need to use [subqueries](https://docs.victoriametrics.com/MetricsQL.html#subqueries):
|
||||
|
||||
```metricsql
|
||||
|
Loading…
Reference in New Issue
Block a user