grafana - set defaut dashboard

This commit is contained in:
Ludovic Cartier 2023-07-24 14:36:54 +02:00
parent 4587baa193
commit 8fbef5ae83

View File

@ -1,3 +1,10 @@
[server]
domain = {{ grafana_domain }}
root_url = %(protocol)s://%(domain)s
[dashboards]
{% if prometheus_cloudflare_exporter_targets is defined %}
default_home_dashboard_path = /etc/grafana/provisionning/dashboards/overview_cf.json
{% else %}
default_home_dashboard_path = /etc/grafana/provisionning/dashboards/overview.json
{% endif %}