Update docs/configuring-playbook-prometheus-grafana.md: move down the optional configuration

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2025-02-08 23:49:02 +09:00
parent 2163daead2
commit 5e2bc80e6b
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

View File

@ -55,18 +55,18 @@ Grafana is an open source visualization and analytics software. To enable it, ad
```yaml
grafana_enabled: true
# Uncomment to allow viewing Grafana without logging in.
# grafana_anonymous_access: true
grafana_default_admin_user: "USERNAME_HERE"
grafana_default_admin_password: "PASSWORD_HERE"
# Uncomment to allow viewing Grafana without logging in.
# grafana_anonymous_access: true
```
Name | Description
-----|----------
`grafana_enabled`|[Grafana](https://grafana.com/) is the visual component. It shows (on the `stats.example.com` subdomain) the dashboards with the graphs that we're interested in.
`grafana_anonymous_access`|By default you need to log in to see graphs. If you want to publicly share your graphs (e.g. when asking for help in [`#synapse:matrix.org`](https://matrix.to/#/#synapse:matrix.org?via=matrix.org&via=privacytools.io&via=mozilla.org)) you'll want to enable this option.
`grafana_default_admin_user`<br>`grafana_default_admin_password`|By default Grafana creates a user with `admin` as the username and password. You are asked to change the credentials on first login. If you feel this is insecure and you want to change them beforehand, you can do that here.
`grafana_anonymous_access`|By default you need to log in to see graphs. If you want to publicly share your graphs (e.g. when asking for help in [`#synapse:matrix.org`](https://matrix.to/#/#synapse:matrix.org?via=matrix.org&via=privacytools.io&via=mozilla.org)) you'll want to enable this option.
#### Adjusting the Grafana URL (optional)