VictoriaMetrics/app/vmalert/notifier
Nikolay d626c5c2a9
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 13:55:43 +03:00
..
alert.go vmalert-974: fix order for labels templating (#975) 2020-12-19 14:10:59 +02:00
alert_test.go vmalert: add function "query", "first" and "value" to alert templates functions (#960) 2020-12-14 20:11:45 +02:00
alertmanager.go all: consistently return text-based HTTP responses with charset=utf-8 2020-11-13 10:35:41 +02:00
alertmanager_request.qtpl Support of custom URL path for alert (#560) 2020-06-21 11:32:46 +01:00
alertmanager_request.qtpl.go Support of custom URL path for alert (#560) 2020-06-21 11:32:46 +01:00
alertmanager_test.go all: typo fix: exptected -> expected 2020-07-02 18:05:52 +03:00
init.go app/vmalert: typo fix in descriptions for notifier.basicAuth.username and notifier.basicAuth.password command-line flags 2020-12-24 12:48:59 +02:00
notifier.go vmalert: cleanup and restructure of code to improve maintainability (#471) 2020-05-10 17:58:17 +01:00
package_test.go Support of custom URL path for alert (#560) 2020-06-21 11:32:46 +01:00
template_func.go changes vmalert query function (#1307) 2021-05-21 13:55:43 +03:00