mirror of
https://github.com/rfmoz/grafana-dashboards.git
synced 2025-03-05 20:51:45 -08:00
34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# 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](https://github.com/Lusitaniae/apache_exporter).
|
|
|
|

|
|
|
|
Install tools before generating dashboards and alerts:
|
|
|
|
```bash
|
|
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:
|
|
|
|
```bash
|
|
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:
|
|
|
|
```bash
|
|
make
|
|
```
|
|
|
|
For more advanced uses of mixins, see
|
|
https://github.com/monitoring-mixins/docs.
|