Bug 1882561
| Summary: | Add per pool compression metrics to mgr/prometheus | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Paul Cuzner <pcuzner> |
| Component: | Ceph-Mgr Plugins | Assignee: | Boris Ranto <branto> |
| Status: | CLOSED ERRATA | QA Contact: | Sunil Angadi <sangadi> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2 | CC: | branto, ceph-eng-bugs, ceph-qe-bugs, jdurgin, jespy, kdreyer, knortema, tserlin |
| Target Milestone: | --- | ||
| Target Release: | 4.2z1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-14.2.11-113.el8cp, ceph-14.2.11-113.el7cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-04-28 20:12:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 |
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: