Bug 2186557

Summary: Metrics names produced by Ceph exporter differ form the name produced by Prometheus manager module
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Juan Miguel Olmo <jolmomar>
Component: Ceph-MetricsAssignee: Juan Miguel Olmo <jolmomar>
Status: CLOSED ERRATA QA Contact: Sayalee <saraut>
Severity: urgent Docs Contact: Akash Raj <akraj>
Priority: urgent    
Version: 6.1CC: akraj, athakkar, ceph-eng-bugs, cephqe-warriors, kdreyer, msaini, tserlin
Target Milestone: ---   
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-35.el9cp Doc Type: Bug Fix
Doc Text:
.The metrics names produced by Ceph exporter and prometheus manager module are the same Previously, the metrics coming from the Ceph daemons (performance counters) were produced by the Prometheus manager module. The new Ceph exporter would replace the Prometheus manager module, and the metrics name produced would not follow the same rules applied in the Prometheus manager module. Due to this, the name of the metrics for the same performance counters were different depending on the provider of the metric (Prometheus manager module or Ceph exporter) With this fix, the Ceph exporter uses the same rules as the ones in the Prometheus manager module to generate metric names from Ceph performance counters. The metrics produced by Ceph exporter and Prometheus manager module are exactly the same.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 09:17:19 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: 2025815, 2192813    
Deadline: 2023-04-21   

Description Juan Miguel Olmo 2023-04-13 17:24:46 UTC
Description of problem:
The metrics coming from daemons perf counters must have the same name if they are exported by the Prometheus manager module or by the Ceph exporter.
Nos we have differences that can cause regression in monitoring tools ( prometheus queries, grafana dashboards...)

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

How reproducible:
Compare metrics produced by Mds daemon obtained from prometheus manager module and by and Ceph Exporter

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 errata-xmlrpc 2023-06-15 09:17:19 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 (Moderate: Red Hat Ceph Storage 6.1 security and 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/RHSA-2023:3623