This simple Prometheus metrics exporter for the Unbound DNS resolver
connects to Unbound's TLS control socket and sends the stats_noreset
command, causing Unbound to return metrics as key-value pairs. The
metrics exporter converts Unbound metric names to Prometheus metric
names and labels by using a set of regular expressions.

This reuses UID 522 from comms/xcept and needs to be run as group
_unbound for access to the control socket.  You will want to set
'extended-statistics: yes' in unbound.conf.

ok?

Attachment: unbound_exporter.tgz
Description: unbound_exporter.tgz

Reply via email to