]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/cephadm/templates/services/grafana/ceph-dashboard.yml.j2
import ceph quincy 17.2.1
[ceph.git] / ceph / src / pybind / mgr / cephadm / templates / services / grafana / ceph-dashboard.yml.j2
1 # {{ cephadm_managed }}
2 deleteDatasources:
3 {% for host in hosts %}
4 - name: 'Dashboard{{ loop.index }}'
5 orgId: 1
6 {% endfor %}
7
8 - name: 'Loki'
9 orgId: 2
10
11 datasources:
12 {% for host in hosts %}
13 - name: 'Dashboard{{ loop.index }}'
14 type: 'prometheus'
15 access: 'proxy'
16 orgId: 1
17 url: '{{ host }}'
18 basicAuth: false
19 isDefault: {{ 'true' if loop.first else 'false' }}
20 editable: false
21 {% endfor %}
22
23 - name: 'Loki'
24 type: 'loki'
25 access: 'proxy'
26 orgId: 2
27 url: '{{ loki_host }}'
28 basicAuth: false
29 isDefault: true
30 editable: false