How can we know which metrics does bind exporter expose

275 views
Skip to first unread message

nina guo

unread,
Dec 31, 2021, 12:54:23 AM12/31/21
to Prometheus Users
Hi guys,

We would like to use bind exporter to monitor DNS server with bind exporter.

But which metrics does bind exporter expose exactly?

Piper H

unread,
Dec 31, 2021, 2:33:09 AM12/31/21
to nina guo, Prometheus Users
I think you will have to check their documentation for details.


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/02cf9f69-5fe4-4d81-9a84-8c1f2c7cb323n%40googlegroups.com.

nina guo

unread,
Dec 31, 2021, 2:48:57 AM12/31/21
to Prometheus Users
Thank you. But sorry that I cannot find all the metrics from the document.

Brian Candler

unread,
Dec 31, 2021, 5:34:48 AM12/31/21
to Prometheus Users
curl http://127.0.0.1:<port>/metrics

will show you.  Otherwise there is the source code, also here.  You can see which bind resources it queries:

// ServerPath is the HTTP path of the v3 server resource.

ServerPath = "/xml/v3/server"
// StatusPath is the HTTP path of the v3 status resource.
StatusPath = "/xml/v3/status"
// TasksPath is the HTTP path of the v3 tasks resource.
TasksPath = "/xml/v3/tasks"
// ZonesPath is the HTTP path of the v3 zones resource.
ZonesPath = "/xml/v3/zones"

Given that, you can then look at the bind9 documentation to see what all the counters mean.

Reply all
Reply to author
Forward
0 new messages