VictoriaMetrics/app
Roman Khavronenko 92212f04da
vmalert: avoid sending resolves for pending alerts (#498)
Before the change we were sending notifications to notifier
if following conditions are met:
* alert is in Fire state
* alert is in Inactive state

We were sending Inactive notifications to resolve alert ASAP. 
Unfortunately, we were sending resolves for Pending alerts that become
Inactive, which is wrong.

In this change we delete alert from the active list if
it was Pending and become Inactive. In this way we now
have Inactive alerts only if they were in state Fire before.
See test change for example.
2020-05-17 15:13:22 +01:00
..
victoria-metrics all: print --help output to stdout instead of stderr 2020-05-16 11:59:33 +03:00
vmagent all: print --help output to stdout instead of stderr 2020-05-16 11:59:33 +03:00
vmalert vmalert: avoid sending resolves for pending alerts (#498) 2020-05-17 15:13:22 +01:00
vmauth all: print --help output to stdout instead of stderr 2020-05-16 11:59:33 +03:00
vmbackup all: print --help output to stdout instead of stderr 2020-05-16 11:59:33 +03:00
vminsert app/vminsert: add /-/reload handler in the same way as for vmagent 2020-04-30 02:15:39 +03:00
vmrestore all: print --help output to stdout instead of stderr 2020-05-16 11:59:33 +03:00
vmselect lib: extract common code for returning fast unix timestamp into lib/fasttime 2020-05-14 23:02:07 +03:00
vmstorage app/vmstorage: add vm_slow_metric_name_loads_total metric, which could be used as an indicator when more RAM is needed for improving query performance 2020-05-15 14:11:45 +03:00