VictoriaMetrics/app/vmalert/notifier
Nikolay 23a6c9c016 changes vmalert query function (#1307)
* changes vmalert query function
for prometheus rules compatibility its better to use labels as map.
it simplifies template evaluation and allow to ignore can't evaluate field error
because map will return default value.
fixes https://github.com/VictoriaMetrics/operator/issues/243
2021-05-21 16:38:20 +03:00
..
alert_test.go vmalert: add function "query", "first" and "value" to alert templates functions (#960) 2020-12-14 20:12:16 +02:00
alert.go vmalert-974: fix order for labels templating (#975) 2020-12-19 14:21:27 +02:00
alertmanager_request.qtpl Support of custom URL path for alert (#560) 2020-06-21 16:33:58 +03:00
alertmanager_request.qtpl.go Support of custom URL path for alert (#560) 2020-06-21 16:33:58 +03:00
alertmanager_test.go all: typo fix: exptected -> expected 2020-07-02 18:06:21 +03:00
alertmanager.go all: consistently return text-based HTTP responses with charset=utf-8 2020-11-13 10:30:21 +02:00
init.go app/vmalert: typo fix in descriptions for notifier.basicAuth.username and notifier.basicAuth.password command-line flags 2020-12-24 12:49:40 +02:00
notifier.go vmalert: cleanup and restructure of code to improve maintainability (#471) 2020-05-11 14:35:55 +03:00
package_test.go Support of custom URL path for alert (#560) 2020-06-21 16:33:58 +03:00
template_func.go changes vmalert query function (#1307) 2021-05-21 16:38:20 +03:00