]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: Fix the per method stats exported 44146/head
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 24 Nov 2021 01:28:01 +0000 (14:28 +1300)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 30 Nov 2021 09:57:15 +0000 (16:57 +0700)
commit138797ed093c90a274415a9453e5dcb19145fc2a
tree9c9869cfa6494af229d76aeeff9cdac1e79af0d0
parent30b2a93bef566464130f74c87933dfe1d23a54cc
mgr/prometheus: Fix the per method stats exported

The per method stats were missing due to a typo. This patch
addresses that to ensure that we get the method timings and
count 'counters'

Fixes: https://tracker.ceph.com/issues/53379
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit 34afdc88fc40effc65f5ae4ccfbad48ef5d26985)
src/pybind/mgr/prometheus/module.py