VictoriaMetrics/vendor/github.com/VictoriaMetrics
Aliaksandr Valialkin 0580a58feb
app/vmselect/promql: add support for @ modifier
Add support for `@` modifier in MetricsQL according to https://prometheus.io/docs/prometheus/latest/querying/basics/#modifier

Extend the support with the following features:
* Allow using `@` modifier everywhere in the query. For example, `sum(foo) @ end()`
* Allow using arbitrary expression as `@` modifier. For example, `foo @ (end() - 1h)`
  returns `foo` value at `end - 1 hour` timestamp on the selected time range `[start ... end]`

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1348
2022-01-13 22:15:19 +02:00
..
fastcache go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:39:22 +02:00
fasthttp go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:39:22 +02:00
metrics go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:39:22 +02:00
metricsql app/vmselect/promql: add support for @ modifier 2022-01-13 22:15:19 +02:00