]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: Skip bogus entries
authorBoris Ranto <branto@redhat.com>
Fri, 16 Feb 2018 03:53:39 +0000 (04:53 +0100)
committerBoris Ranto <branto@redhat.com>
Tue, 3 Apr 2018 16:35:14 +0000 (18:35 +0200)
commit5bce4bf1db589d8b964e54cf684a9b90149ad883
tree9850420f330de86c8631647fc622b92eede658f8
parent8ebcd8d68d691d89659f3fad69afb68c8458aada
mgr/prometheus: Skip bogus entries

The osd data can contain bogus '-' entries, skip these when populating
osd metadata and disk occupation.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 965aaad5273eac311e4535559a0e0a9df8a39bee)
src/pybind/mgr/prometheus/module.py