grafana-dashboards/prometheus/apache-http-mixin
2022-05-11 19:19:45 +04:00
..
alerts remove unused variables 2022-05-11 18:10:50 +04:00
dashboards jsonnet fmt 2022-05-11 19:04:03 +04:00
config.libsonnet jsonnet fmt 2022-05-11 19:04:03 +04:00
jsonnetfile.json Transform dashboard to use grafonnet library 2022-05-11 15:11:33 +04:00
jsonnetfile.lock.json Transform dashboard to use grafonnet library 2022-05-11 15:11:33 +04:00
Makefile Add Makefile and README 2022-05-11 19:19:45 +04:00
mixin.libsonnet Add alerts to apache mixin 2022-05-11 15:11:45 +04:00
README.md Add Makefile and README 2022-05-11 19:19:45 +04:00

Apache HTTP server mixin

Apache HTTP mixin is a set of configurable Grafana dashboards and alerts based on the metrics exported by the Apache exporter.

image

Install tools before generating dashboards and alerts:

go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
go install github.com/monitoring-mixins/mixtool/cmd/mixtool@latest

For linting and formatting, you would also need mixtool and jsonnetfmt installed. If you have a working Go development environment, it's easiest to run the following:

go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest

The files in dashboards_out need to be imported into your Grafana server. The exact details will be depending on your environment.

prometheus_alerts.yaml needs to be imported into Prometheus.

Edit config.libsonnet if required and then build JSON dashboard files for Grafana:

make

For more advanced uses of mixins, see https://github.com/monitoring-mixins/docs.