Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2108102

Summary: Get "Different Storage Class" metrics in Prometheus dashboard
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Aashish sharma <aasharma>
Component: RADOSAssignee: Neha Ojha <nojha>
Status: CLOSED NOTABUG QA Contact: Pawan <pdhiran>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0CC: akupczyk, amathuri, bhubbard, ceph-eng-bugs, cephqe-warriors, choffman, ksirivad, lflores, nojha, pdhange, rfriedma, rzarzyns, sseshasa, vumrao
Target Milestone: ---   
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-19 05:36:14 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:

Description Aashish sharma 2022-07-18 12:38:33 UTC
Description of problem:We would like to have "Different Storage Class" metrics in Prometheus dashboard. Prometheus already provide below metrics for the overall cluster:

~~~
ceph_cluster_total_bytes
ceph_cluster_total_used_bytes
ceph_cluster_total_used_raw_bytes
~~~

We would also like to get different storage class metrics, for example if I have 2 classes Slowerclass and fasterclass, then I should be able to get below metrics:

~~~
Slowerclass_bytes
Slowerclass_used_bytes
Slowerclass_used_raw_bytes
fasterclass_bytes
fasterclass_used_bytes
fasterclass_used_raw_bytes


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Aashish sharma 2022-07-19 05:36:14 UTC
Hi Vikhyat,

Thank you for providing this useful information. Ernesto has created a design doc for the implementation of this feature request https://docs.google.com/document/d/1trnz8VXP1rDMs0glEAtOfLZcpH0coqdJwVkF2ihQITE/edit#heading=h.edvemstuogz2 . Moreover from the info provided by you and this doc, it seems that we have the required metrics in place , hence I will close this bugzilla. 

Thanks & Regards
Aashish