Index | Thread | Search

From:
Sebastien Marie <semarie@kapouay.eu.org>
Subject:
Re: [new] sysutils/unbound_exporter
To:
Pascal Stumpf <pascal@stumpf.co>, ports@openbsd.org
Date:
Sat, 17 Aug 2024 18:08:05 +0200

Download raw body.

Thread
Pascal Stumpf <pascal@stumpf.co> writes:

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

The port looks good to me. I would just add a note in the port itself
about 'extended-statistics: yes' (pkg-readme or maybe simply in DESCR
telling it is supported).

My build machine is still working, I will provide feedback a bit later.

Thanks.
-- 
Sebastien Marie