VictoriaMetrics/app/vmalert/notifier
Roman Khavronenko 304512b668 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-11 12:59:33 +02:00
..
alert.go vmalert-974: fix order for labels templating (#975) 2020-12-19 14:21:27 +02:00
alert_test.go vmalert: add function "query", "first" and "value" to alert templates functions (#960) 2020-12-14 20:12:16 +02:00
alertmanager.go all: consistently return text-based HTTP responses with charset=utf-8 2020-11-13 10:30:21 +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
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 vmalert-989: return non-empty result in template func query stub to pass validation (#1002) 2021-01-11 12:59:33 +02:00