From f37562827d884d86cb0d5e7a1f356369505d486e Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 22 Feb 2022 10:26:37 +0100 Subject: [PATCH] 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 --- ansible/roles/grafana/templates/grafana.ini.j2 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ansible/roles/grafana/templates/grafana.ini.j2 b/ansible/roles/grafana/templates/grafana.ini.j2 index e6a8575842..d32febb6ff 100644 --- a/ansible/roles/grafana/templates/grafana.ini.j2 +++ b/ansible/roles/grafana/templates/grafana.ini.j2 @@ -23,14 +23,6 @@ user = {{ grafana_database_user }} password = {{ grafana_database_password }} ssl_mode = disable -[session] -provider = mysql -provider_config = {{ grafana_database_user }}:{{ grafana_database_password }}@tcp({{ grafana_database_address }})/{{ grafana_database_name }} - -cookie_name = grafana_sess -cookie_secure = false -session_life_time = 86400 - [analytics] reporting_enabled = false check_for_updates = false