You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dnsmasq_exporter/dnsmasq-mixin
Tom Wilkie 6d9ae78e7d
Datasource template variable should be labelled 'Data Source' (#19)
Signed-off-by: Tom Wilkie <tom@grafana.com>
2 years ago
..
Makefile Add a bare-bones 'monitoring mixin' for dnsmasq. (#10) 3 years ago
README.md Add a bare-bones 'monitoring mixin' for dnsmasq. (#10) 3 years ago
dnsmasq-overview.json Datasource template variable should be labelled 'Data Source' (#19) 2 years ago
go.mod Add a bare-bones 'monitoring mixin' for dnsmasq. (#10) 3 years ago
mixin.libsonnet Add a bare-bones 'monitoring mixin' for dnsmasq. (#10) 3 years ago

README.md

dnsmasq mixin

This is a work in progress. We aim for it to become a good role model for alerts and dashboards eventually, but it is not quite there yet.

The dnsmasq mixin is a set of configurable, reusable, and extensible alerts and dashboards based on the metrics exported by the dnsmasq exporter. The mixin creates recording and alerting rules for Prometheus and suitable dashboard descriptions for Grafana.

To use them, you need to have mixtool and jsonnetfmt installed. If you have a working Go development environment, it's easiest to run the following:

$ go get github.com/monitoring-mixins/mixtool/cmd/mixtool
$ go get github.com/google/go-jsonnet/cmd/jsonnetfmt

You can then build the Prometheus rules files alerts.yaml and rules.yaml and a directory dashboard_out with the JSON dashboard files for Grafana:

$ make build

For more advanced uses of mixins, see https://github.com/monitoring-mixins/docs.