criteo / graphite-remote-adapter

Fully featured graphite remote adapter for Prometheus
Apache License 2.0
38 stars 25 forks source link

graphite: add a way to periodically reset the carbon connection #24

Closed iksaif closed 6 years ago

iksaif commented 6 years ago

This is important when using UDP because you might not notice that the host has now moved to another IP. This way the DNS gets re-resolved and the connection reset to where it should be. Using TCP here might not always be doable. This can be disabled by setting a very large duration but should never hurt.

See #23 and https://github.com/prometheus/prometheus/pull/3635