dnsmasq_exporter/dnsmasq-mixin
2024-04-24 08:40:42 +01:00
..
dnsmasq-overview.json Fix accidental leftovers from dashboard schema upgrade (#21) 2023-01-31 12:46:47 +01:00
go.mod Upgrade dependencies for Go 1.22 2024-04-24 08:40:42 +01:00
Makefile Add a bare-bones 'monitoring mixin' for dnsmasq. (#10) 2020-10-12 19:01:09 +02:00
mixin.libsonnet Add a bare-bones 'monitoring mixin' for dnsmasq. (#10) 2020-10-12 19:01:09 +02:00
README.md Add a bare-bones 'monitoring mixin' for dnsmasq. (#10) 2020-10-12 19:01:09 +02:00

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.