Index | Thread | Search

From:
Pascal Stumpf <pascal@stumpf.co>
Subject:
[new] sysutils/unbound_exporter
To:
ports@openbsd.org
Date:
Mon, 12 Aug 2024 20:00:28 +0200

Download raw body.

Thread
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?