Description of problem: mgr/prometheus exposed per pool statistics that does not include the compression information Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. curl http://<mgr>:9283/metrics 2. 3. Actual results: In the output the ceph_pool_* statistics do not include compress_bytes_used or compress_under_bytes Expected results: mgr/prometheus should include the compression stats per pool, like this. # HELP ceph_pool_compress_bytes_used DF pool compress_bytes_used # TYPE ceph_pool_compress_bytes_used gauge ceph_pool_compress_bytes_used{pool_id="1"} 0.0 ceph_pool_compress_bytes_used{pool_id="2"} 0.0 ceph_pool_compress_bytes_used{pool_id="3"} 0.0 ceph_pool_compress_bytes_used{pool_id="4"} 0.0 ceph_pool_compress_bytes_used{pool_id="5"} 0.0 ceph_pool_compress_bytes_used{pool_id="6"} 0.0 ceph_pool_compress_bytes_used{pool_id="7"} 0.0 ceph_pool_compress_bytes_used{pool_id="8"} 3277963264.0 ceph_pool_compress_bytes_used{pool_id="9"} 0.0 ceph_pool_compress_bytes_used{pool_id="12"} 0.0 # HELP ceph_pool_compress_under_bytes DF pool compress_under_bytes # TYPE ceph_pool_compress_under_bytes gauge ceph_pool_compress_under_bytes{pool_id="1"} 0.0 ceph_pool_compress_under_bytes{pool_id="2"} 0.0 ceph_pool_compress_under_bytes{pool_id="3"} 0.0 ceph_pool_compress_under_bytes{pool_id="4"} 0.0 ceph_pool_compress_under_bytes{pool_id="5"} 0.0 ceph_pool_compress_under_bytes{pool_id="6"} 0.0 ceph_pool_compress_under_bytes{pool_id="7"} 0.0 ceph_pool_compress_under_bytes{pool_id="8"} 25846505472.0 ceph_pool_compress_under_bytes{pool_id="9"} 0.0 ceph_pool_compress_under_bytes{pool_id="12"} 0.0 Additional info:
OCS 4.8
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat Ceph Storage security, bug fix, and enhancement Update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1452