Przeglądaj źródła

Merge pull request #1067 from theCalcaholic/fix/set-grafana-root-url

Configure root_url in granafa.ini
pull/1068/head
Slavi Pantaleev 4 lat temu
committed by GitHub
rodzic
commit
f7e854c7cc
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 4 dodań i 0 usunięć
  1. +1
    -0
      docs/configuring-playbook-prometheus-grafana.md
  2. +3
    -0
      roles/matrix-grafana/templates/grafana.ini.j2

+ 1
- 0
docs/configuring-playbook-prometheus-grafana.md Wyświetl plik

@@ -56,6 +56,7 @@ Name | Description
`matrix_nginx_proxy_proxy_synapse_metrics`|Set this to `true` to make matrix-nginx-proxy expose the Synapse metrics at `https://matrix.DOMAIN/_synapse/metrics`
`matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_enabled`|Set this to `true` to password-protect (using HTTP Basic Auth) `https://matrix.DOMAIN/_synapse/metrics` (the username is always `prometheus`, the password is defined in `matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_key`)
`matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_key`|Set this to a password to use for HTTP Basic Auth for protecting `https://matrix.DOMAIN/_synapse/metrics` (the username is always `prometheus` - it's not configurable)
`matrix_server_fqn_grafana`|Use this variable to override the domain at which the Grafana web user-interface is at (defaults to `stats.DOMAIN`).


## More information


+ 3
- 0
roles/matrix-grafana/templates/grafana.ini.j2 Wyświetl plik

@@ -1,3 +1,6 @@
[server]
root_url = "https://{{ matrix_server_fqn_grafana }}"

[security]
# default admin user, created on startup
admin_user = "{{ matrix_grafana_default_admin_user }}"


Ładowanie…
Anuluj
Zapisz