mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-02-11 09:38:57 +01:00
Update docs/configuring-playbook-prometheus-grafana.md: add sections for Prometheus and Grafana
The introductions are copied from their configuration files. Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
parent
19f17bb729
commit
8d52dc985a
@ -10,7 +10,9 @@ When setting, replace `example.com` with your own.
|
|||||||
|
|
||||||
## Adjusting the playbook configuration
|
## Adjusting the playbook configuration
|
||||||
|
|
||||||
To enable Grafana and/or Prometheus, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:
|
### Configure Prometheus
|
||||||
|
|
||||||
|
Prometheus is an open-source systems monitoring and alerting toolkit. To enable it, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
prometheus_enabled: true
|
prometheus_enabled: true
|
||||||
@ -23,7 +25,13 @@ prometheus_postgres_exporter_enabled: true
|
|||||||
|
|
||||||
# You can remove this, if unnecessary.
|
# You can remove this, if unnecessary.
|
||||||
matrix_prometheus_nginxlog_exporter_enabled: true
|
matrix_prometheus_nginxlog_exporter_enabled: true
|
||||||
|
```
|
||||||
|
|
||||||
|
### Configure Grafana
|
||||||
|
|
||||||
|
Grafana is an open source visualization and analytics software. To enable it, add the following configuration to your `vars.yml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
grafana_enabled: true
|
grafana_enabled: true
|
||||||
|
|
||||||
grafana_anonymous_access: false
|
grafana_anonymous_access: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user