]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
dashboards: Fix cluster OSDs panel 225/head
authorBoris Ranto <branto@redhat.com>
Tue, 18 Sep 2018 21:31:14 +0000 (23:31 +0200)
committerBoris Ranto <branto@redhat.com>
Tue, 18 Sep 2018 21:34:26 +0000 (23:34 +0200)
commit546c2830767c1d03b17601d8b815ae4cfd08837a
tree804a78a851a0132e302b3fc30abf6c26ec31614f
parenteb6937ecc3b2fe8711787064d0ff6e32844333e2
dashboards: Fix cluster OSDs panel

We still use the old 'id' label for getting the number of OSDs in the
ceph cluster dashboard. However, the label was superseded by the
'ceph_daemon' label in one of the updates to the prometheus exporter in
ceph-mgr. This patch changes the query to what we use in other
dashboards -- i.e. 'ceph_daemon' instead of 'id'.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1627725
Signed-off-by: Boris Ranto <branto@redhat.com>
dashboards/mgr-prometheus/ceph-cluster.json