From: Pere Diaz Bou Date: Tue, 18 Jan 2022 13:14:41 +0000 (+0100) Subject: monitoring/grafana: replace filestore osd count X-Git-Tag: v18.0.0~1545^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F44332%2Fhead;p=ceph.git monitoring/grafana: replace filestore osd count Signed-off-by: Pere Diaz Bou --- diff --git a/monitoring/grafana/dashboards/jsonnet/grafana_dashboards.jsonnet b/monitoring/grafana/dashboards/jsonnet/grafana_dashboards.jsonnet index f2f6736fbe6e3..d4d19ffa0af4f 100644 --- a/monitoring/grafana/dashboards/jsonnet/grafana_dashboards.jsonnet +++ b/monitoring/grafana/dashboards/jsonnet/grafana_dashboards.jsonnet @@ -1287,7 +1287,7 @@ local addStyle(alias, colorMode, colors, dateFormat, decimals, mappingType, patt 'OSD Objectstore Types' ) .addTarget(addTargetSchema('count(ceph_bluefs_wal_total_bytes)', 1, 'time_series', 'bluestore')) - .addTarget(addTargetSchema('count(ceph_osd_metadata) - count(ceph_bluefs_wal_total_bytes)', 1, 'time_series', 'filestore')) + {gridPos: {x: 4, y: 8, w: 4, h: 8}}, + .addTarget(addTargetSchema('absent(ceph_bluefs_wal_total_bytes)*count(ceph_osd_metadata)', 1, 'time_series', 'filestore')) + {gridPos: {x: 4, y: 8, w: 4, h: 8}}, OsdOverviewPieChartPanel( {}, 'The pie chart shows the various OSD sizes used within the cluster', diff --git a/monitoring/grafana/dashboards/osds-overview.json b/monitoring/grafana/dashboards/osds-overview.json index 3e88e5910b7dc..a3c93b53d1cb8 100644 --- a/monitoring/grafana/dashboards/osds-overview.json +++ b/monitoring/grafana/dashboards/osds-overview.json @@ -477,7 +477,7 @@ "refId": "A" }, { - "expr": "count(ceph_osd_metadata) - count(ceph_bluefs_wal_total_bytes)", + "expr": "absent(ceph_bluefs_wal_total_bytes)*count(ceph_osd_metadata)", "format": "time_series", "intervalFactor": 1, "legendFormat": "filestore",