wrouesnel / pdns_exporter

a quick and simple powerdns exporter for metrics via the control socket interface
Apache License 2.0
11 stars 5 forks source link

PowerDNS 4.2 json parse error #2

Open Shantira opened 5 years ago

Shantira commented 5 years ago

Hello, I faced with an issue on new PowerDNS Authoritative version 4.2.0. It looks like they made some changes in json API output and now exporter gives this error: level=error msg="Error scraping PowerDNS: json: invalid use of ,string struct tag, trying to unmarshal unquoted value into float64" source="powerdns_exporter.go:197"