Commit graph

3 commits

Author SHA1 Message Date
Brandon Richardson e3caa1dcf7
feat: add option to enable granular lease metrics (#24)
Introduce a new flag that can be used to expose each DHCP lease as a
specific metric. Given the high cardinality of these metrics, exposition
of lease information is disabled by default.

This feature takes cues from node_exporter collectors which are
disabled by default, like the `processes` or `systemd` collectors for
instance. Typically, high-cardinality metrics are against prometheus
best-practices but for smaller networks (like home networks) these
features can be quite powerful.
2023-04-07 18:09:17 +02:00
Sandip Bhattacharya 8f3a65778f
Metrics collection should not break on missing leases file (#14) 2021-08-08 15:07:29 +02:00
Michael Stapelberg b68bff846a add integration test (running against an actual dnsmasq) 2018-05-05 17:02:25 +02:00