]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
prometheus: Format metrics in the collect function
authorBoris Ranto <branto@redhat.com>
Thu, 12 Jul 2018 17:29:07 +0000 (19:29 +0200)
committerBoris Ranto <branto@redhat.com>
Tue, 24 Jul 2018 19:41:39 +0000 (21:41 +0200)
commitaa7b20d62e2c48cd15dd15b20e9ef4a7585f35e5
treeb19828374243a4cdb4644cab3ea6e54a0b602d25
parentf4e869d1cf550ebf18b0962b69600f8188da6547
prometheus: Format metrics in the collect function

This allows us to clear metrics upon formatting in the collect function.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 2583672dba808b126580b0ba3e961d274a162d11)
src/pybind/mgr/prometheus/module.py