[Bug 286365] dns/nsd: Add prometheus metrics

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Apr 2025 14:14:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286365

--- Comment #5 from Yonas Yanfa <yonas.yanfa@gmail.com> ---
(In reply to Jaap Akkerhuis from comment #4)

I thought --enable-metrics was required during the build, but after testing, it
seems not.

configure.ac:
...
# prometheus metrics depend on libevent 2.0 and later, and is therefore         
# only enabled when the required version is found and used


As long as libevent is installed during the build, metrics will be built-in,
which is the case:

LIB_DEPENDS=    libevent.so:devel/libevent


This issue can be closed.

-- 
You are receiving this mail because:
You are the assignee for the bug.