aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/grafana/templates/grafana.ini.j2
diff options
context:
space:
mode:
authorAlex Welsh <alex@stackhpc.com>2026-09-02 09:22:39 +0100
committerBartosz Bezak <bartosz@stackhpc.com>2026-09-03 07:41:03 +0000
commit0848902bef126de880448977307fe7d6bcc9a5d4 (patch)
tree39c366f63b9db072dee6e8280ed7c028eec8757c /ansible/roles/grafana/templates/grafana.ini.j2
parent2a76a1f0b98de0ed035224f6cdd02edee99d2dfc (diff)
downloadkolla-ansible-0848902bef126de880448977307fe7d6bcc9a5d4.tar.gz
kolla-ansible-0848902bef126de880448977307fe7d6bcc9a5d4.zip
Remove Disable Getting Started panel Grafana tasks
Since Grafana 13.2, the api/user/helpflags/1 endpoint has been removed [1]. This means the "Disable Getting Started panel" deployment task fails with 404 when a custom home dashboard is added. The best alternative I can find is to set default_home_dashboard_path in grafana.ini, which disables the panel anyway [2] [1] https://github.com/grafana/grafana/pull/124916 [2] https://github.com/grafana/grafana/pull/28750 Change-Id: I78b8657b6ca94d81e3becbba9d5a476d9427658f Signed-off-by: Alex Welsh <alex@stackhpc.com> Closes-Bug: #2166048 (cherry picked from commit c8e7b85b2707f762b2560ad8bed9d107a30ff521)
Diffstat (limited to 'ansible/roles/grafana/templates/grafana.ini.j2')
-rw-r--r--ansible/roles/grafana/templates/grafana.ini.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/grafana/templates/grafana.ini.j2 b/ansible/roles/grafana/templates/grafana.ini.j2
index 763915796..4aae4caa5 100644
--- a/ansible/roles/grafana/templates/grafana.ini.j2
+++ b/ansible/roles/grafana/templates/grafana.ini.j2
@@ -41,3 +41,8 @@ enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
{% endif %}
+
+{% if grafana_custom_home_dashboard | bool %}
+[dashboards]
+default_home_dashboard_path = /usr/share/grafana/public/dashboards/home.json
+{% endif %}