VictoriaMetrics/app/vmselect/searchutils
Aliaksandr Valialkin 4cb024d8a3
all: add support for or filters in series selectors
This commit adds ability to select series matching distinct filters via a single series selector.
For example, the following selector selects series with either {env="prod",job="a"}
or {env="dev",job="b"} labels:

  {env="prod",job="a" or env="dev",job="b"}

The `or` filter is supported in all the VictoriaMetrics tools now.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3997
Uses https://github.com/VictoriaMetrics/metricsql/pull/14
2023-07-16 00:06:33 -07:00
..
searchutils.go all: add support for or filters in series selectors 2023-07-16 00:06:33 -07:00
searchutils_test.go all: add support for or filters in series selectors 2023-07-16 00:06:33 -07:00