The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/grafana-mixin
Torkel Ödegaard 74d453f056
DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879)
2 years ago
..
alerts grafana-mixin: Fix expression for GrafanaRequestsFailing alert (#63382) 2 years ago
dashboards DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879) 2 years ago
rules grafana-mixin: Fix `GrafanaRequestsFailing` alert (#43116) 3 years ago
scripts
.gitignore
Makefile
README.md
mixin.libsonnet grafana-mixin: Fix `GrafanaRequestsFailing` alert (#43116) 3 years ago

README.md

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.