haproxy_exporter icon indicating copy to clipboard operation
haproxy_exporter copied to clipboard

Metrics are incomplete if error encountered parsing CSV from HAProxy

Open beorn7 opened this issue 7 years ago • 0 comments

This error could possibly even include a timeout, in which case we would prefer to not expose any metrics at all rather than an incomplete set (which can lead to heavy underreporting of traffic and thus cause false alerts). Essentially, in the scrape() method, we loop through the lines, setting metrics, and we will just skip errors there.

This will probably implicitly change/get fixed by moving to const metrics, see #43

beorn7 avatar Jun 22 '17 12:06 beorn7