]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: add new API's to fetch latest perf counter values
authorNaveen Naidu <naveennaidu479@gmail.com>
Wed, 19 Mar 2025 13:55:34 +0000 (19:25 +0530)
committerNaveen Naidu <naveennaidu479@gmail.com>
Tue, 8 Apr 2025 02:26:46 +0000 (07:56 +0530)
commit6d3cababa19361d2573207bb480552bf52d50271
treefc8c227fea92f1d3d5db0d23a84b8a0d3e1a8b70
parenta4aebd83907a7d4f1ed5275b0adccf6d491bc296
mgr: add new API's to fetch latest perf counter values

New API's to fetch the latest values of performance counters have been
added. These API's support fetching the values for labeled performance
counters.

We also make changes to `insert` and `create` API of
perf_counters_key to remove any empty labels. This change helps us
construct perf_counters_key when the key labels are constructed
dynamically.

Signed-off-by: Naveen Naidu <naveen.naidu@ibm.com>
doc/mgr/modules.rst
src/mgr/ActivePyModules.cc
src/mgr/ActivePyModules.h
src/mgr/BaseMgrModule.cc
src/pybind/ceph_argparse.py
src/pybind/mgr/ceph_module.pyi
src/pybind/mgr/mgr_module.py