]> 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>
Fri, 1 Jun 2018 12:26:26 +0000 (14:26 +0200)
commit21b0b376707391fa21460fb5a2cb81f431daedc0
tree266c3a8e6bbc02ffb5877204949c65833f2842a0
parent5a966c92e5db36cef6f24be54bc0fbfc00ddc470
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)

Conflicts:
src/pybind/mgr/mgr_module.py: get_latest is inside
get_all_perf_counters, get_latest_avg added, too
src/pybind/mgr/mgr_module.py