]> git.apps.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, 17 Jul 2018 20:28:59 +0000 (22:28 +0200)
commit2583672dba808b126580b0ba3e961d274a162d11
treefe72855bae5e8ee495d554e66dfe4fbc4e995a5c
parentc00dd55f40ab795db3f43522755e49758c9cc737
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>
src/pybind/mgr/prometheus/module.py