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 <kgronlund@suse.com>
(cherry picked from commit
8b61b8d3d781b9d762098cf45b41b596a32509ab)
"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,