]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/cephadm/templates/services/grafana/ceph-dashboard.yml.j2
import ceph pacific 16.2.5
[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 datasources:
9 {% for host in hosts %}
10 - name: 'Dashboard{{ loop.index }}'
11 type: 'prometheus'
12 access: 'proxy'
13 orgId: 1
14 url: 'http://{{ host }}'
15 basicAuth: false
16 isDefault: {{ 'true' if loop.first else 'false' }}
17 editable: false
18 {% endfor %}