VictoriaMetrics/app/vmalert/datasource
Roman Khavronenko f3a048288e
Vmalert: adjust time param for datasource queries according to evaluationInterval (#1257)
* Simplify arguments list for fn `queryDataSource` to improve readbility

* vmalert: adjust `time` param according to rule evaluation interval

With this change, vmalert will start to use rule's evaluation interval
for truncating the `time` param. This is mostly needed to produce consistent
time series with timestamps unaffected by vmalert start time. Now, timestamp
becomes predictable.
Additionally, adjustment is similar to what Grafana does for plotting range graphs.
Hence, recording rule series and recording rule expression plotted in grafana
suppose to become similar in most of cases.
2021-04-30 09:46:03 +03:00
..
datasource.go changes vmalert Querier with per rule querier (#1249) 2021-04-28 21:41:15 +01:00
init.go changes vmalert Querier with per rule querier (#1249) 2021-04-28 21:41:15 +01:00
type.go Graphite vmalert wip (#112) 2021-02-01 15:05:32 +02:00
vm.go Vmalert: adjust time param for datasource queries according to evaluationInterval (#1257) 2021-04-30 09:46:03 +03:00
vm_test.go Vmalert: adjust time param for datasource queries according to evaluationInterval (#1257) 2021-04-30 09:46:03 +03:00