]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: return FQDN for default server_addr 31482/head
authorPatrick Seidensal <pseidensal@suse.com>
Wed, 6 Nov 2019 10:45:51 +0000 (11:45 +0100)
committerLaura Paduano <lpaduano@suse.com>
Fri, 8 Nov 2019 09:19:16 +0000 (10:19 +0100)
commit8b2a50bf076c5bf9839a49d0e6672982df6accb5
tree37d09d7c435dbe907b8ae9dc31a6a5d79f2992ee
parentd9ba311d31a85eb68e1f726d19520c6e0782c635
mgr/prometheus: return FQDN for default server_addr

Instead of returning '0.0.0.0' the prometheus module returns the FQDN of
the host, as it is the case for '::'.

Fixes: https://tracker.ceph.com/issues/42664
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit 9eb1c34f6fcbf5ac7e1e0b695a0182d5937cc038)
src/pybind/mgr/prometheus/module.py