]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: Clean up collection thread
authorBoris Ranto <branto@redhat.com>
Wed, 25 Nov 2020 09:25:49 +0000 (10:25 +0100)
committerBoris Ranto <branto@redhat.com>
Mon, 30 Nov 2020 10:28:08 +0000 (11:28 +0100)
commit9b718e17b75f07e5022619c825a342829d3d0aa9
treeee87a40ea6875c3a85952104737b120d7fc97390
parent24151eb93e273d7f3d22a489e8645f01911897da
mgr/prometheus: Clean up collection thread

We need to clean up the metrics collection thread.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 03fcaccafc877d10a894b1c39af5547f172c1ed3)

Conflicts:
prometheus/module.py: Pass _global_instance as an argument to
        MetricCollectionThread, collect can't be a static function
        anymore
src/pybind/mgr/prometheus/module.py