Commit graph

10 commits

Author SHA1 Message Date
Sandip Bhattacharya 8f3a65778f
Metrics collection should not break on missing leases file (#14) 2021-08-08 15:07:29 +02:00
Tom Wilkie 58de9c8b6f
Add a build_info metric and a promu build spec. (#9)
This makes the exporter expose a dnsmasq_exporter_build_info metric, which not only allows you to see what version you're running, but also allows you to dynamically select the job label in a Gragana dashboard - making the dashboards more portable.

To make sure the the build_info metric is correctly populated, I've added a promu build spec, allowing the exporter to be build with promu, the tool we use to build Prometheus and various exporters.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2020-10-11 23:42:22 +02:00
Felix Ehrenpfort d5b74a1f9b
metrics: adding support for servers.bind. statistic (#7)
this commit adds support for the servers.bind. statistic
which is exposed by dnsmasq and provides information about the
number of successful and failed queries on each configured
upstream server
2020-02-25 08:18:18 +01:00
Michael Stapelberg 161ea97d3d fix vet warnings, update invocation 2019-10-22 08:55:57 +02:00
WilliButz 55f7e71b1e
add log output and use the prometheus log library 2018-05-06 15:13:33 +02:00
WilliButz 025856a69c
add configurable metrics path and minimal landing page 2018-05-06 15:12:19 +02:00
Michael Stapelberg b68bff846a add integration test (running against an actual dnsmasq) 2018-05-05 17:02:25 +02:00
Michael Stapelberg d106190ef8 implement -dnsmasq address flag 2018-05-05 17:01:57 +02:00
Siavash Safi 5bcf12a070 Set RecursionDesired header to fix SERVFAIL (#1) 2018-05-05 17:01:39 +02:00
Michael Stapelberg 1c0a911641 Initial commit 2017-10-30 06:23:40 -07:00