VictoriaMetrics/app/vmalert/datasource
Haleygo 2aa0f5fc41
vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066)
* vmalert: add `query_time_alignment` for rule group

1. add `eval_alignment` attribute for group which by default is true. So group rule query stamp will be aligned with interval and propagated to ALERT metrics and the messages for alertmanager;
2. deprecate `datasource.queryTimeAlignment` flag.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5049
2023-10-10 12:41:19 +02:00
..
datasource.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:20:38 +03:00
init.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00
vm.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00
vm_graphite_api.go app/vmalert/datasource/graphite: allow overriding "from" parameter for datasource queries (#4687) 2023-07-21 14:28:10 +04:00
vm_prom_api.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00
vm_prom_api_test.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00
vm_test.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:41:19 +02:00