From: Ilya Margolin Date: Thu, 14 Dec 2017 16:07:01 +0000 (+0100) Subject: pybind/mgr/prometheus: fix metric type undef -> untyped X-Git-Tag: v13.0.2~677^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=58669bedf530e1ccaf4d6c4bf018eeec43b78647;p=ceph.git 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 --- 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