]> git.apps.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 18:09:39 +0000 (20:09 +0200)
commit1b20683a445827758a1ee16243be373803ea074a
tree26a8e8da326561d6df233ded262dada63ca98e6e
parentad00bdb9cc73bb298f8b3a22962f88d1f942816b
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>
(cherry picked from commit f79ff11302a0364c04601b5ccd3950d80cd063a8)
src/pybind/mgr/mgr_module.py