Commit graph

25 commits

Author SHA1 Message Date
Tom Wilkie 6d9ae78e7d
Datasource template variable should be labelled 'Data Source' (#19)
Signed-off-by: Tom Wilkie <tom@grafana.com>
2021-10-19 18:55:15 +02:00
Michael Stapelberg 9df65941a0 Switch from Travis to GitHub Actions 2021-10-16 08:44:51 +02:00
Paulo Edgar Castro ba2c117d6a
Bump docker file so it builds again. (#18) 2021-10-14 20:24:47 +02:00
dependabot[bot] 3fa623b162
Bump github.com/miekg/dns from 1.1.14 to 1.1.25 (#17)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.14 to 1.1.25.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.14...v1.1.25)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 17:36:42 +02:00
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
Sandip Bhattacharya 8f3a65778f
Metrics collection should not break on missing leases file (#14) 2021-08-08 15:07:29 +02:00
Evan 7245dc2121
Add title to build info panel, remove duplicate panel (#11) 2020-11-05 22:27:05 +01:00
Tom Wilkie a1ae28120b
Add a bare-bones 'monitoring mixin' for dnsmasq. (#10) 2020-10-12 19:01:09 +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
Tom Wilkie 4a335b2532
Add init script for openwrt. (#8) 2020-10-11 19:18:38 +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
Michael Stapelberg 90c5f0ae62 travis: use go1.13 2019-10-22 08:47:49 +02:00
Michael Stapelberg fc7234289d add go.sum 2019-10-22 08:45:09 +02:00
Vilvaramadurai Samidurai 646ded9be8 adding non-root user in dockerfile (#6)
Signed-off-by: vsamidurai <vilvaram@gmail.com>
2019-09-19 08:06:56 +02:00
Marcelo Almeida bca1dc5c86 Added Dockerfile (#5) 2019-06-17 16:40:24 +02:00
Michael Stapelberg 14cdb8f33e
Merge pull request #2 from WilliButz/add-features
add basic landing page, configurable metrics path and more log output
2018-05-06 17:33:50 +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 e1f281b435 add travis badge 2018-05-05 17:04:09 +02:00
Michael Stapelberg 201fe1998f document minimum required version 2018-05-05 17:02:25 +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