Bug 1554281

Summary: [cephmetrics] Prometheus enablement
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Boris Ranto <branto>
Component: Ceph-MetricsAssignee: Boris Ranto <branto>
Status: CLOSED ERRATA QA Contact: Sidhant Agrawal <sagrawal>
Severity: medium Docs Contact: Aron Gunn <agunn>
Priority: high    
Version: 3.0CC: agunn, branto, ceph-eng-bugs, gmeno, hnallurv, jbrier, kdreyer, pcuzner, schamilt, spasquie, tserlin, zcerza
Target Milestone: rc   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.5-34.el7cp cephmetrics-2.0-5.el7cp Ubuntu: ceph_12.2.5-12redhat1 Doc Type: Enhancement
Doc Text:
.The Prometheus plugin for the {product} Dashboard Previously, the {product} Dashboard used `collectd` and Graphite for gathering and reporting on Ceph metrics. With this release, Prometheus is now used for data gathering and reporting, and provides querying capabilities. Also, Prometheus is much less resource intensive. See the {product} link:{admin-guide}#the-prometheus-plugin-for-red-hat-ceph-storage[Administration Guide] for more details on the Prometheus plugin.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-26 18:19:40 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: 1584264    

Description Boris Ranto 2018-03-12 10:15:01 UTC
Description of problem:
Track the progress of prometheus enablement in cephmetrics.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Boris Ranto 2018-03-12 10:19:10 UTC
Luminous backport for ceph-mgr changes:

https://github.com/ceph/ceph/pull/20642

The cephmetrics PR:

https://github.com/ceph/cephmetrics/pull/160

Comment 4 Boris Ranto 2018-04-06 13:56:54 UTC
The PR to export rgw perf counters via prometheus module:

https://github.com/ceph/ceph/pull/21269

Comment 5 Boris Ranto 2018-04-19 20:40:13 UTC
The latest luminous back-port. I am hoping it will make it into 12.2.5:

https://github.com/ceph/ceph/pull/21492

Comment 6 Boris Ranto 2018-05-02 08:56:01 UTC
All the PRs above made it into 12.2.5 so they will be addressed by the rebase. However, we will need a couple more PRs for this:

https://github.com/ceph/ceph/pull/21748
https://github.com/ceph/ceph/pull/21749

Comment 7 Boris Ranto 2018-05-10 13:14:13 UTC
We will also need this PR

https://github.com/ceph/ceph/pull/21793

Maybe, we should also incorporate these changes

https://github.com/ceph/ceph/pull/21557

since the PR was already merged and we are likely to run into problems when using a future mimic release.

Comment 11 Boris Ranto 2018-05-16 17:47:27 UTC
The PRs mentioned above have already been back-ported downstream but we will need two more PRs (currently under review):

https://github.com/ceph/ceph/pull/22010
https://github.com/ceph/ceph/pull/22037

Comment 35 Scoots Hamilton 2018-09-13 01:20:14 UTC
*** Bug 1627841 has been marked as a duplicate of this bug. ***

Comment 37 errata-xmlrpc 2018-09-26 18:19:40 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, 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-2018:2819