From 58669bedf530e1ccaf4d6c4bf018eeec43b78647 Mon Sep 17 00:00:00 2001 From: Ilya Margolin Date: Thu, 14 Dec 2017 17:07:01 +0100 Subject: [PATCH] pybind/mgr/prometheus: fix metric type undef -> untyped Fixes "Prometheus exporter can't get metrics after update to 12.2.2" Fixes: http://tracker.ceph.com/issues/22313 Signed-off-by: Ilya Margolin --- src/pybind/mgr/prometheus/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/prometheus/module.py b/src/pybind/mgr/prometheus/module.py index 07f53a63739..82bb65cda67 100644 --- a/src/pybind/mgr/prometheus/module.py +++ b/src/pybind/mgr/prometheus/module.py @@ -181,7 +181,7 @@ class Module(MgrModule): # so that we can stably use the same tag names that # the Prometheus node_exporter does metrics['disk_occupation'] = Metric( - 'undef', + 'untyped', 'disk_occupation', 'Associate Ceph daemon with disk used', DISK_OCCUPATION