curl http://127.0.0.1:<port>/metrics

will show you.  Otherwise there is the source code 
<https://github.com/prometheus-community/bind_exporter/blob/master/bind/bind.go>,
 
also here 
<https://github.com/prometheus-community/bind_exporter/blob/master/bind/v3/v3.go>.
  
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 
<https://bind9.readthedocs.io/en/latest/reference.html#bind-9-statistics> 
to see what all the counters mean.

On Friday, 31 December 2021 at 07:48:57 UTC [email protected] wrote:

> Thank you. But sorry that I cannot find all the metrics from the document.
>
> On Friday, December 31, 2021 at 3:33:09 PM UTC+8 [email protected] wrote:
>
>> I think you will have to check their documentation for details.
>> https://github.com/prometheus-community/bind_exporter
>>
>>
>> On Fri, Dec 31, 2021 at 1:54 PM nina guo <[email protected]> wrote:
>>
>>> Hi guys,
>>>
>>> We would like to use bind exporter to monitor DNS server with bind 
>>> exporter.
>>>
>>> But which metrics does bind exporter expose exactly?
>>>
>>> -- 
>>> 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 [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/prometheus-users/02cf9f69-5fe4-4d81-9a84-8c1f2c7cb323n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/prometheus-users/02cf9f69-5fe4-4d81-9a84-8c1f2c7cb323n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/0a4fedc6-7eb7-4787-b30e-f35744b72cc8n%40googlegroups.com.

Reply via email to