Description
This is a prometheus exporter for knot dns (the authoritative server, not knot-resolver !). It gets all of its values from the mod-stats of knot, which can be set this way in knot's conf:
#/etc/knot/knot.conf
template:
- id: default
storage: "/var/lib/knot"
file: "%s.zone"
global-module: mod-rrl/default
global-module: mod-stats/default
It gives knot's default stats, plus the rrl stats. For other modules, you'll have to add them yourself; have a look at the get_stats and gen_metrics functions.
Installation
I don't know yet; might create a .deb
Description
Languages
Python
100%