]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/prometheus: fix metric type undef -> untyped 19524/head
authorIlya Margolin <ilya@ulani.de>
Thu, 14 Dec 2017 16:07:01 +0000 (17:07 +0100)
committerIlya Margolin <ilya@ulani.de>
Fri, 15 Dec 2017 10:09:36 +0000 (11:09 +0100)
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 <listen@ulani.de>
src/pybind/mgr/prometheus/module.py

index 07f53a6373915521077686f4335029031256b6f5..82bb65cda67fa74c1e0e439f699036363e3cd0ec 100644 (file)
@@ -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