VictoriaMetrics/app/vmalert
Aliaksandr Valialkin be509b3995
lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop()
Previously the was a race condition when the background goroutine still could try collecting metrics
from already stopped resources after returning from pushmetrics.Stop().
Now the pushmetrics.Stop() waits until the background goroutine is stopped before returning.

This is a follow-up for https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5549
and the commit fe2d9f6646 .

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5548
2024-01-15 13:50:36 +02:00
..
config app/vmalert/config: fix flacky test TestParseBad 2023-10-25 21:30:55 +02:00
datasource app/{vmagent,vmalert}: add the ability to set OAuth2 endpoint params via the corresponding *.oauth2.endpointParams command-line flags 2023-12-20 21:35:28 +02:00
deployment app/vmalert: include it into the next release 2020-04-28 00:10:12 +03:00
multiarch all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:01:32 -08:00
notifier app/{vmagent,vmalert}: add the ability to set OAuth2 endpoint params via the corresponding *.oauth2.endpointParams command-line flags 2023-12-20 21:35:28 +02:00
remoteread app/{vmagent,vmalert}: add the ability to set OAuth2 endpoint params via the corresponding *.oauth2.endpointParams command-line flags 2023-12-20 21:35:28 +02:00
remotewrite lib/prompbmarshal: switch to github.com/VictoriaMetrics/easyproto 2024-01-14 23:04:45 +02:00
rule vmalert: automatically add exported_ prefix for original evaluation… (#5398) 2023-12-22 16:07:47 +01:00
static app/vmalert: show on UI groups error after reload config (#4543) 2023-07-03 14:59:52 +02:00
templates app/vmalert: add support of recursive path globs for rules and templates (#4148) 2023-04-26 19:20:22 +02:00
tpl app/vmalert: show on UI groups error after reload config (#4543) 2023-07-03 14:59:52 +02:00
utils app/{vmagent,vmalert}: add the ability to set OAuth2 endpoint params via the corresponding *.oauth2.endpointParams command-line flags 2023-12-20 21:35:28 +02:00
main_test.go all: use Gauge instead of Counter for *_config_last_reload_successful metrics 2023-12-20 14:23:42 +02:00
main.go lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-15 13:50:36 +02:00
Makefile vmalert: revert unittest feature (#4734) 2023-07-28 10:42:02 +02:00
manager_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
manager.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
README.md docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
replay_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
replay.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
web_test.go app/vmalert: expose /vmalert/api/v1/rule and /api/v1/rule API which returns rule status in JSON format (#5397) 2023-12-04 18:40:33 +03:00
web_types_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
web_types.go app/vmalert: expose /vmalert/api/v1/rule and /api/v1/rule API which returns rule status in JSON format (#5397) 2023-12-04 18:40:33 +03:00
web.go app/vmalert: expose /vmalert/api/v1/rule and /api/v1/rule API which returns rule status in JSON format (#5397) 2023-12-04 18:40:33 +03:00
web.qtpl vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
web.qtpl.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00

See vmalert docs here.

vmalert docs can be edited at docs/vmalert.md.