]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/prometheus/module.py
import ceph 15.2.15
[ceph.git] / ceph / src / pybind / mgr / prometheus / module.py
index d1b89495d83daa6a9ff44764a0fb1e3b012f3d73..c150b11efa53c979185cb8bd19df7a8465704774 100644 (file)
@@ -441,7 +441,7 @@ class Module(MgrModule):
         for state in DF_POOL:
             path = 'pool_{}'.format(state)
             metrics[path] = Metric(
-                'gauge',
+                'counter' if state in ('rd', 'rd_bytes', 'wr', 'wr_bytes') else 'gauge',
                 path,
                 'DF pool {}'.format(state),
                 ('pool_id',)