kolla-ansible/ansible/roles/grafana/templates/grafana.ini.j2
Pierre Riteau f37562827d Remove grafana [session] configuration
These configuration settings were removed in Grafana 6.2. Instead we can
use [remote_cache], but it is not required since it will use database
settings by default.

Change-Id: I37966027aea9039b2ecba4214444507e9d87f513
2022-02-22 10:26:37 +01:00

33 lines
705 B
Django/Jinja

[paths]
data = /var/lib/grafana
logs = /var/log/kolla/grafana
plugins = /var/lib/grafana/plugins
provisioning = /etc/grafana/provisioning
[server]
protocol = http
http_addr = {{ api_interface_address | put_address_in_context('url') }}
http_port = {{ grafana_server_port }}
router_logging = true
static_root_path = public
enable_gzip = false
[database]
type = mysql
host = {{ grafana_database_address }}
name = {{ grafana_database_name }}
user = {{ grafana_database_user }}
password = {{ grafana_database_password }}
ssl_mode = disable
[analytics]
reporting_enabled = false
check_for_updates = false
[security]
admin_user = {{ grafana_admin_username }}
admin_password = {{ grafana_admin_password }}