VictoriaMetrics/app/victoria-metrics
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
..
deployment Rootless docker images by default (#358) 2020-03-27 21:23:50 +02: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
test Rename prom_writter.go to prom_writer.go (#5411) 2023-12-01 12:20:31 +01:00
testdata tests: attempt to fix flaky graphite test (#3567) 2022-12-29 11:48:47 -08:00
main_test.go lib/netutil: init implimentation of proxy protocol (#3687) 2023-01-26 23:08:35 -08: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 all: add Windows build for VictoriaMetrics 2023-03-19 01:36:51 -07:00
self_scraper.go lib/prompb: change type of Label.Name and Label.Value from []byte to string 2024-01-14 22:33:21 +02:00