A set of Grafana dashboards and Prometheus alerts for Gluster.
The scope of this project is to provide Gluster specific Grafana dashboard configs and Prometheus rule files using Prometheus Mixins.
Jsonnet [Install Jsonnet]
Jsonnet is a data templating language for app and tool developers.
The mixin project uses Jsonnet to provide reusable and configurable configs for Grafana Dashboards and Prometheus Alerts.
Jsonnet-bundler [Install Jsonnet-bundler]
Jsonnet-bundler is a package manager for jsonnet.
You can clone this repository and manually generate Grafana Dashboard configs and Prometheus Rules files, and apply it according to your setup.
$ git clone https://github.com/gluster/gluster-mixins.git
$ cd gluster-mixins
To get dependencies
$ jb install
To generate Prometheus Alert file
$ make prometheus_alerts.yaml
To generate Prometheus Rule file
$ make prometheus_rules.yaml
To generate Grafana Dashboard configs
$ make dashboards_out
The prometheus_alerts.yaml and prometheus_rules.yaml files then needs to be passed to your Prometheus Server, and the files in dashboards_out needs to be passed to your Grafana server.