VictoriaMetrics/app
Roman Khavronenko e9fa363480
Vmalert fix bugs in alerting evaluation (#2557)
* vmalert: calculate time for firing alert based on the given timestamp

Previously, current time was used for checking the `firing` threshold.
This is not correct, since alerts are evaluated at specific timestamps.
Hence, this specific timestamp supposed to be used in the calculation.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: properly calculate evaluation timestamp for rules

Timestamp for rules evaluation should be calculated after
the artifical delay for groups start. Otherwise, evaluation
timestamp can fall back too far in time.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-05-09 10:11:06 +02:00
..
victoria-metrics lib/storage: leave the last sample per each discrete interval during the deduplicaton 2022-05-02 21:50:45 +03:00
vmagent app/vmagent: add missing _total suffix to vmagent_remotewrite_global_rows_pushed_before_relabel_total counter 2022-05-06 15:50:57 +03:00
vmalert Vmalert fix bugs in alerting evaluation (#2557) 2022-05-09 10:11:06 +02:00
vmauth lib/httpserver: clarify that -tls flag enables TLS for http requests to -httpListenAddr 2022-04-16 16:59:26 +03:00
vmbackup vmbackup: Prevent save backups to the same folder where TSDB data is (#2547) 2022-05-06 18:04:09 +03:00
vmbackupmanager docs: add flags list to vmbackupmanager (#2554) 2022-05-08 12:18:39 +00:00
vmctl app/vmctl: add flag to handle Prometheus remote_write to InfluxDB (#2545) 2022-05-07 19:52:42 +00:00
vmgateway app: sync Markdown changes from a8de1ab000 2022-03-22 14:11:18 +02:00
vminsert vmctl verify-blocks command (#2390) 2022-04-05 16:01:32 +02:00
vmrestore app: sync Markdown changes from a8de1ab000 2022-03-22 14:11:18 +02:00
vmselect app/vmselect/vmui: make vmui-update after 450d879eaa 2022-05-05 21:26:01 +03:00
vmstorage app/vmstorage: do not allow to set -retentionPeriod smaller than one day 2022-05-07 00:53:01 +03:00
vmui vmui: prevent reset relative time (#2543) 2022-05-05 21:21:02 +03:00