MINOR: contrib/prometheus-exporter: better output of Not-a-Number
authorWilliam Dauchy <wdauchy@gmail.com>
Fri, 22 Jan 2021 20:09:47 +0000 (21:09 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 Jan 2021 14:53:28 +0000 (15:53 +0100)
commit18a2c6ed4980c8f0b28c9b32170b2d4fe4948d88
tree00ffd776f81eb01b08a8c224f9764094378243ac
parent8596bfbafdd161f51a25bc2f6c37b87b2cddd089
MINOR: contrib/prometheus-exporter: better output of Not-a-Number

Not necessarily mandatory but I saw a few prometheus client parsing only
`NaN`. Also most librarries do output `NaN`

Signed-off-by: William Dauchy <wdauchy@gmail.com>
contrib/prometheus-exporter/service-prometheus.c