Commit graph

3 commits

Author SHA1 Message Date
Robert Fratto b4719ce9a0
Update github.com/prometheus/common dependency (#16)
This commit updates the dependency on github.com/prometheus/common,
which has since removed the github.com/prometheus/common/log package.
Prometheus logging has internally changed to use github.com/go-kit/log,
with helpers to construct one in github.com/prometheus/common/promlog.

Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2021-10-06 16:31:00 +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
Marcelo Almeida bca1dc5c86 Added Dockerfile (#5) 2019-06-17 16:40:24 +02:00