VictoriaMetrics/app/vmalert/config
Roman Khavronenko 2e2e4f7e21
vmalert-989: return non-empty result in template func query stub to pass validation ()
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
..
testdata vmalert-989: return non-empty result in template func query stub to pass validation () 2021-01-10 02:56:11 +03:00
config.go fixes checksum calculation () 2020-11-29 09:48:42 +02:00
config_test.go vmalert: add function "query", "first" and "value" to alert templates functions () 2020-12-14 20:11:45 +02:00