czerwonk / ping_exporter

Prometheus exporter for ICMP echo requests using https://github.com/digineo/go-ping
MIT License
530 stars 115 forks source link

Fix bugs introduced by hot reloading of targets #108

Closed hikhvar closed 8 months ago

hikhvar commented 8 months ago

Improve speedup time by doing the intial DNS resolution also in parallel.

Fix edge cases if big files are created and truncated.

Refactor the ping collector such that it doesn't rely on global variables anymore. Add support for updating the target configs such that the label values can be updated per target. The set of labels names is not updated, as this will break the prometheus Collector interface.