From: Jan Fajerski Date: Tue, 10 Oct 2017 06:40:31 +0000 (+0200) Subject: pybind/mgr/prometheus: fix metric type undef -> untyped X-Git-Tag: v12.2.2~61^2~50 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8c816b8e0fc1fd3fe227690287bcc6e6fce7c54d;p=ceph.git pybind/mgr/prometheus: fix metric type undef -> untyped Signed-off-by: Jan Fajerski (cherry picked from commit 6306392492d103200b21ea91bce10a315d7c4e16) --- diff --git a/src/pybind/mgr/prometheus/module.py b/src/pybind/mgr/prometheus/module.py index 1346ad853d2..2b22b67e8c1 100644 --- a/src/pybind/mgr/prometheus/module.py +++ b/src/pybind/mgr/prometheus/module.py @@ -169,7 +169,7 @@ class Module(MgrModule): def _setup_static_metrics(self): metrics = {} metrics['health_status'] = Metric( - 'undef', + 'untyped', 'health_status', 'Cluster health status' ) @@ -179,13 +179,13 @@ class Module(MgrModule): 'Monitors in quorum' ) metrics['osd_metadata'] = Metric( - 'undef', + 'untyped', 'osd_metadata', 'OSD Metadata', OSD_METADATA ) metrics['pool_metadata'] = Metric( - 'undef', + 'untyped', 'pool_metadata', 'POOL Metadata', POOL_METADATA