VictoriaMetrics/app/vmagent
Aliaksandr Valialkin 9e5e514faf
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-16 21:18:22 +02:00
..
common
csvimport
datadogv1
datadogv2
deployment
graphite
influx
multiarch
native
newrelic
opentelemetry
opentsdb
opentsdbhttp
prometheusimport
promremotewrite
remotewrite
static/css
vmimport
main.go lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 21:18:22 +02:00
Makefile
README.md
vmagent.png

See vmagent docs here.

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