VictoriaMetrics/app/vmalert/config
Roman Khavronenko 6247884057
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:11:45 +02:00
..
testdata vmalert: add function "query", "first" and "value" to alert templates functions (#960) 2020-12-14 20:11:45 +02:00
config_test.go vmalert: add function "query", "first" and "value" to alert templates functions (#960) 2020-12-14 20:11:45 +02:00
config.go fixes checksum calculation (#928) 2020-11-29 09:48:42 +02:00