blob: dc70a5d7fcbe594f71765e88fc71834361b06e08 [file] [log] [blame]
{%- from "ceph/map.jinja" import common with context -%}
{%- if common.version is defined %}
dashboard:
{%- if common.version in ['kraken', 'jewel'] %}
ceph_cluster_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/legacy/ceph_cluster_prometheus.json
ceph_osd_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/legacy/ceph_osd_prometheus.json
ceph_pools_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/legacy/ceph_pools_prometheus.json
{%- else %}
ceph_cluster_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/{{ common.version }}-ceph-cluster_prometheus.json
ceph_osd_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/{{ common.version }}-osds-overview_prometheus.json
ceph_osd_details_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/{{ common.version }}-osds-detail_prometheus.json
ceph_pools_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/{{ common.version }}-pool-overview_prometheus.json
ceph_hosts_overview_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/{{ common.version }}-hosts-overview_prometheus.json
ceph_radosgw_overview_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/{{ common.version }}-radosgw-overview_prometheus.json
ceph_radosgw_detail_prometheus:
datasource: prometheus
format: json
template: ceph/files/grafana_dashboards/{{ common.version }}-radosgw-detail_prometheus.json
{%- endif %}
{%- endif %}