]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/cephadm/templates/services/grafana/ceph-dashboard.yml.j2
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / cephadm / templates / services / grafana / ceph-dashboard.yml.j2
CommitLineData
e306af50 1# {{ cephadm_managed }}
1e59de90
TL
2apiVersion: 1
3
e306af50 4deleteDatasources:
a4b75251 5{% for host in hosts %}
e306af50
TL
6 - name: 'Dashboard{{ loop.index }}'
7 orgId: 1
8{% endfor %}
9
10datasources:
a4b75251 11{% for host in hosts %}
e306af50
TL
12 - name: 'Dashboard{{ loop.index }}'
13 type: 'prometheus'
14 access: 'proxy'
15 orgId: 1
a4b75251 16 url: '{{ host }}'
1e59de90 17 basicAuth: {{ 'true' if security_enabled else 'false' }}
e306af50
TL
18 isDefault: {{ 'true' if loop.first else 'false' }}
19 editable: false
1e59de90
TL
20{% if security_enabled %}
21 basicAuthUser: {{ prometheus_user }}
22 jsonData:
23 graphiteVersion: "1.1"
24 tlsAuth: false
25 tlsAuthWithCACert: true
26 tlsSkipVerify: false
27 secureJsonData:
28 basicAuthPassword: {{ prometheus_password }}
29 tlsCACert: "{{ cephadm_root_ca }}"
30{% endif %}
e306af50 31{% endfor %}
33c7a0ef
TL
32
33 - name: 'Loki'
34 type: 'loki'
35 access: 'proxy'
33c7a0ef
TL
36 url: '{{ loki_host }}'
37 basicAuth: false
1e59de90 38 isDefault: false
33c7a0ef 39 editable: false