Bug 2095632

Summary: [cee/sd][RFE][ceph-dashboard] Get "Different Storage Class" metrics in Prometheus dashboard.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Lijo Stephen Thomas <lithomas>
Component: Ceph-DashboardAssignee: Aashish sharma <aasharma>
Status: CLOSED ERRATA QA Contact: Sunil Angadi <sangadi>
Severity: medium Docs Contact: Masauso Lungu <mlungu>
Priority: unspecified    
Version: 4.3CC: aasharma, ceph-eng-bugs, epuertat, gjose, mlungu, rbdiri, tserlin
Target Milestone: ---Keywords: FutureFeature
Target Release: 6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-17.2.3-7.el9cp Doc Type: Enhancement
Doc Text:
.Users can now see new metrics for different storage class in Prometheus With this release three new metrics, `ceph_cluster_by_class_total_bytes`, `ceph_cluster_by_class_total_used_bytes`, and `ceph_cluster_by_class_total_used_raw_bytes`, are added for different storage class in Prometheus filtered by device class which would help to follow up the performances and the capacity of the infrastructure.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:56:39 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:
Bug Depends On:    
Bug Blocks: 2126050    

Description Lijo Stephen Thomas 2022-06-10 04:51:05 UTC
Description:
------------
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):
RHCS 4

Comment 21 Aashish sharma 2022-09-27 08:40:07 UTC
Hello Masauso,

It should be - `Users can now see new metrics for different storage class in Prometheus` instead of `Users can now add new metrics for different storage class in Prometheus`. Rest looks good to me.

Thanks
Aashish

Comment 23 Rabeb 2022-11-24 14:21:39 UTC
--CSM NOTE--

Hi team, 

Do we have an update on this issue please? 

Thank you 

Rabeb

Comment 33 errata-xmlrpc 2023-03-20 18:56:39 UTC
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 (Red Hat Ceph Storage 6.0 Bug Fix 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/RHBA-2023:1360