VictoriaMetrics/app/vmselect/prometheus
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
..
error_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
error_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
expand-with-exprs.qtpl app/vmselect: small cleanup after 4f3f9950d0 2023-05-08 14:57:11 -07:00
expand-with-exprs.qtpl.go app/vmselect: small cleanup after 4f3f9950d0 2023-05-08 14:57:11 -07:00
export.qtpl app: follow-up after ec04fcac93 2022-10-06 14:52:02 +03:00
export.qtpl.go app: follow-up after ec04fcac93 2022-10-06 14:52:02 +03:00
federate.qtpl app/vmselect: do not export NaN values for stale metrics at /federate endpoint 2022-10-01 19:47:37 +03:00
federate.qtpl.go app/vmselect: do not export NaN values for stale metrics at /federate endpoint 2022-10-01 19:47:37 +03:00
label_values_response.qtpl lib/querytracer: make it easier to use by passing trace context message to New and NewChild 2022-06-08 21:06:52 +03:00
label_values_response.qtpl.go lib/querytracer: make it easier to use by passing trace context message to New and NewChild 2022-06-08 21:06:52 +03:00
labels_response.qtpl lib/querytracer: make it easier to use by passing trace context message to New and NewChild 2022-06-08 21:06:52 +03:00
labels_response.qtpl.go lib/querytracer: make it easier to use by passing trace context message to New and NewChild 2022-06-08 21:06:52 +03:00
prometheus.go all: add support for or filters in series selectors 2023-07-16 00:06:33 -07:00
prometheus_test.go chore: Use http constants to replace numbers (#3846) 2023-02-22 18:53:05 -08:00
query_range_response.qtpl app/vmselect: follow-up for 10ab086366 2023-03-27 15:22:00 -07:00
query_range_response.qtpl.go app/vmselect: follow-up for 10ab086366 2023-03-27 15:22:00 -07:00
query_response.qtpl app/vmselect: follow-up for 10ab086366 2023-03-27 15:22:00 -07:00
query_response.qtpl.go app/vmselect: follow-up for 10ab086366 2023-03-27 15:22:00 -07:00
series_count_response.qtpl all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:23:23 +03:00
series_count_response.qtpl.go all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:23:23 +03:00
series_response.qtpl lib/storage: return marshaled metric names from SearchMetricNames 2022-06-28 18:17:15 +03:00
series_response.qtpl.go lib/storage: return marshaled metric names from SearchMetricNames 2022-06-28 18:17:15 +03:00
tsdb_status_response.qtpl app/vmselect: accept focusLabel query arg at /api/v1/status/tsdb 2022-06-14 18:36:54 +03:00
tsdb_status_response.qtpl.go app/vmselect: accept focusLabel query arg at /api/v1/status/tsdb 2022-06-14 18:36:54 +03:00
util.qtpl all: add initial support for query tracing 2022-06-01 02:29:23 +03:00
util.qtpl.go all: add initial support for query tracing 2022-06-01 02:29:23 +03:00