VictoriaMetrics/app/vmalert/config/testdata
Roman Khavronenko 9f578e389c vmalert: add function "query", "first" and "value" to alert templates functions (#960)
The commit adds a support for template function `query`,
`first` and `value`. The function `query` executes
a MetricsQL query for active alerts. In vmalert we
update templates on every evaluation for active alerts
to keep them up to date. With `query` func it may become
a perf issue since it will fire a query on every execution.
We should keep it in mind for now.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/539
2020-12-14 20:12:16 +02:00
..
dir vmalert: add function "query", "first" and "value" to alert templates functions (#960) 2020-12-14 20:12:16 +02:00
kube-good.rules app/vmalert: accept days, weeks and years in for: part of config like Prometheus does 2020-10-08 20:13:20 +03:00
rules0-bad.rules vmalert: Add recording rules support. (#519) 2020-06-01 13:53:46 +03:00
rules0-good.rules vmalert: Add recording rules support. (#519) 2020-06-01 13:53:46 +03:00
rules1-good.rules vmalert: Add recording rules support. (#519) 2020-06-01 13:53:46 +03:00
rules2-good.rules vmalert: add function "query", "first" and "value" to alert templates functions (#960) 2020-12-14 20:12:16 +02:00