VictoriaMetrics/app
Roman Khavronenko 3283f0dae4
vmalert: support logs suppressing during config reloads (#3973)
* vmalert: support logs suppressing during config reloads

The change is mostly required for ENT version of vmalert,
since it supports object-storage for config files.
Reading data from object storage could be time-consuming,
so vmalert emits logs to track the progress.

However, these logs are mostly needed on start or on
manual config reload. Printing these logs each time
`rule.configCheckInterval` is triggered would too verbose.
So the change allows to control logs emitting during
config reloads.

Now, logs are emitted during start up or when SIGHUP is receieved.
For periodicall config checks logs emitted by config pkg are suppressed.

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

* vmalert: review fixes

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

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-03-20 16:08:30 +01:00
..
victoria-metrics all: add Windows build for VictoriaMetrics 2023-03-19 01:36:51 -07:00
vmagent all: follow-up for 7a3e16e774 2023-03-08 01:26:55 -08:00
vmalert vmalert: support logs suppressing during config reloads (#3973) 2023-03-20 16:08:30 +01:00
vmauth all: follow-up for 7a3e16e774 2023-03-08 01:26:55 -08:00
vmbackup all: add makefile rules for GOARCH=s390x for all the VictoriaMetrics components 2023-02-26 12:36:51 -08:00
vmbackupmanager doc: add vmbackupmanager monitoring section (#3605) 2023-01-05 16:03:06 +01:00
vmctl app/vmctl: automatically check tty (#3938) 2023-03-20 11:16:08 +01:00
vmgateway app/vmgateway: add new flag doc 2023-02-27 11:18:34 -08:00
vminsert app/vmagent: automatically detect whether the remote storage supports VictoriaMetrics remote write protocol 2023-02-23 17:36:55 -08:00
vmrestore all: add makefile rules for GOARCH=s390x for all the VictoriaMetrics components 2023-02-26 12:36:51 -08:00
vmselect app/vmselect/promql: add test to ensure 8-byte alignment (#3948) 2023-03-16 09:01:42 -07:00
vmstorage lib/storage: follow-up for 39cdc546dd 2023-02-27 13:07:38 -08:00
vmui vmui: support for drag'n'drop in the "Trace analyzer" page (#3971) 2023-03-20 11:07:18 +01:00