]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: Use mgr.release_name for always on modules
authorBoris Ranto <branto@redhat.com>
Wed, 25 Nov 2020 09:27:25 +0000 (10:27 +0100)
committerBoris Ranto <branto@redhat.com>
Mon, 30 Nov 2020 10:37:20 +0000 (11:37 +0100)
commitb18349c36893b886bb183a3e18e0e1f43c479dd5
tree3c37fee33131e8d55b271893533bfc80b995ff72
parent9b718e17b75f07e5022619c825a342829d3d0aa9
mgr/prometheus: Use mgr.release_name for always on modules

The host_version is not populated properly in the early stages of ceph
mgr start up process. We can use mgr.release_name instead. It is more
stable and it provides the data even if mgr_map does not contain the
versions, yet.

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