From bfac83889a4920df8390b013e01456edf40d63fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristoffer=20Gr=C3=B6nlund?= Date: Thu, 26 Mar 2020 19:12:55 +0100 Subject: [PATCH] dashboard: Use exported_instance to identify OSDs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When moving to LVM-based ceph-volume setups, several grafana dashboards stopped working. The problem is that (device, instance) no longer results in unique labels which causes errors like: "many-to-many matching not allowed: matching labels must be unique on one side" Fixes: https://tracker.ceph.com/issues/44784 Signed-off-by: Kristoffer Grönlund (cherry picked from commit 8b61b8d3d781b9d762098cf45b41b596a32509ab) --- monitoring/grafana/dashboards/hosts-overview.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/grafana/dashboards/hosts-overview.json b/monitoring/grafana/dashboards/hosts-overview.json index ed6c4c15bf2b..0ad122f831a4 100644 --- a/monitoring/grafana/dashboards/hosts-overview.json +++ b/monitoring/grafana/dashboards/hosts-overview.json @@ -740,7 +740,7 @@ "multi": false, "name": "osd_hosts", "options": [], - "query": "label_values(ceph_disk_occupation, instance)", + "query": "label_values(ceph_disk_occupation, exported_instance)", "refresh": 1, "regex": "([^.]*).*", "skipUrlSync": false, -- 2.47.3