]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/telemetry: modify stats_per_pool
authorLaura Flores <lflores@redhat.com>
Thu, 4 Nov 2021 17:55:51 +0000 (17:55 +0000)
committerLaura Flores <lflores@redhat.com>
Thu, 4 Nov 2021 21:38:29 +0000 (21:38 +0000)
commitab5375076102f4991d6579244b0583e93d979787
treeae3b9523e0bc714e659630b5cab0812ba075c215
parent2badd25cff4b5aad0563694bfec692f949b8e459
mgr/telemetry: modify stats_per_pool

There is a much easier way to collect stats_per_pool than the current implementation. Fetching 'pg_dump' from the mgr module already provides a field called "pool_stats" that is the same as aggregated pg stats, which was the implementation up until this commit.

All in all, this solution should provide the information we want, with a much cleaner implementation.

Signed-off-by: Laura Flores <lflores@redhat.com>
Backport Message: In the case that this commit is backported, it is important to note that the commits in PR #42569 should be backported first, as the implementation of "get_stat_sum_per_pool()" in #42569 precedes the removal of it here.
src/pybind/mgr/telemetry/module.py