]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr_module: Deal with long running avgs properly
authorBoris Ranto <branto@redhat.com>
Tue, 15 May 2018 09:05:22 +0000 (11:05 +0200)
committerBoris Ranto <branto@redhat.com>
Wed, 30 May 2018 14:13:36 +0000 (16:13 +0200)
commitf79ff11302a0364c04601b5ccd3950d80cd063a8
treedc17bfacc13802f7e9fa527794146ccb48aaf4a8
parent1164ef2f32d81d4f35623c3f6a77af2b6871f962
mgr_module: Deal with long running avgs properly

We have recently started exposing long running avgs with the mgr python
modules but that only covers the total sum, not the avgcount.

With this patch, the counts for long running avgs are exposed to the
python modules allowing them to deal with the new data.

Signed-off-by: Boris Ranto <branto@redhat.com>
src/pybind/mgr/mgr_module.py