Add support for JSON statistics-channels
SuperQ opened this issue · comments
Ben Kochie commented
Bind now supports stats over JSON.
Daniel Swarbrick commented
I'm already fairly familiar with the JSON stats in BIND, as I implemented support for it in Telegraf's BIND plugin. However, looking at the code of bind_exporter, I see that there are a few places where it is somewhat tightly coupled to XML unmarshalling, which would require a bit of refactoring to allow the addition of JSON support without too much duplicated code.
albsga commented
Hi I see that ISC has an implementation using json:
https://github.com/isc-projects/stork/blob/master/backend/agent/prombind9exporter.go