VictoriaMetrics/app/vmalert/notifier
Roman Khavronenko 2e2e4f7e21
vmalert-989: return non-empty result in template func query stub to pass validation (#1002)
On templates validation stage vmalert does not acutally send queries, so for complex
chained expression validation may fail. To avoid this, we add a blank sample in response
so validation can pass successfully. Later, during the rule execution, stub will be replaced
with real `query` function.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/989
2021-01-10 02:56:11 +03:00
..
alert_test.go vmalert: add function "query", "first" and "value" to alert templates functions (#960) 2020-12-14 20:11:45 +02:00
alert.go vmalert-974: fix order for labels templating (#975) 2020-12-19 14:10:59 +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
alertmanager.go all: consistently return text-based HTTP responses with charset=utf-8 2020-11-13 10:35:41 +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: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 vmalert-989: return non-empty result in template func query stub to pass validation (#1002) 2021-01-10 02:56:11 +03:00