Signed-off-by: Tom Wilkie <[email protected]>
|1 year ago|
|Makefile||2 years ago|
|README.md||2 years ago|
|dnsmasq-overview.json||1 year ago|
|go.mod||2 years ago|
|mixin.libsonnet||2 years ago|
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
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
rules.yaml and a directory
dashboard_out with the JSON dashboard files
$ make build
For more advanced uses of mixins, see https://github.com/monitoring-mixins/docs.