From 6306392492d103200b21ea91bce10a315d7c4e16 Mon Sep 17 00:00:00 2001 From: Jan Fajerski Date: Tue, 10 Oct 2017 08:40:31 +0200 Subject: [PATCH] pybind/mgr/prometheus: fix metric type undef -> untyped Signed-off-by: Jan Fajerski --- src/pybind/mgr/prometheus/module.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5