grafana/grafana-mixin
Torkel Ödegaard 9f5bdce25c
IssueTriage: Needs more info automation and messages (#28137)
* IssueTriage: Needs more info automation and messages

* Updated

* Updated

* Updated wording
2020-10-16 16:49:55 +02:00
..
alerts Add monitoring mixing for Grafana (#28285) 2020-10-15 17:05:56 +02:00
dashboards IssueTriage: Needs more info automation and messages (#28137) 2020-10-16 16:49:55 +02:00
rules Add monitoring mixing for Grafana (#28285) 2020-10-15 17:05:56 +02:00
scripts Drone: Fix grafana-mixin linting (#28308) 2020-10-16 09:46:26 +02:00
.gitignore should only ignore the file in the grafana mixin root folder (#28306) 2020-10-16 10:26:56 +02:00
Makefile Drone: Fix grafana-mixin linting (#28308) 2020-10-16 09:46:26 +02:00
mixin.libsonnet Add monitoring mixing for Grafana (#28285) 2020-10-15 17:05:56 +02:00
README.md Add monitoring mixing for Grafana (#28285) 2020-10-15 17:05:56 +02:00

Grafana 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 Grafana Mixin is a set of configurable, reusable, and extensible alerts and dashboards based on the metrics exported by Grafana. 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.