Bug 1530734

Summary: [RFE] CloudForms can collect Metrics from Prometheus in OpenShift
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Yaacov Zamir <yzamir>
Status: CLOSED ERRATA QA Contact: Shalom Naim <snaim>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: bazulay, dma, epacific, fsimonce, gblomqui, jfrey, jhardy, obarenbo, oourfali, simaishi, snaim, yzamir
Target Milestone: GAKeywords: FutureFeature, TechPreview
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:c&u
Fixed In Version: 5.9.0.15 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1461969 Environment:
Last Closed: 2018-03-01 13:23:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1461969    
Bug Blocks:    

Comment 2 CFME Bot 2018-01-03 17:36:33 UTC
New commit detected on ManageIQ/manageiq-providers-kubernetes/gaprindashvili:
https://github.com/ManageIQ/manageiq-providers-kubernetes/commit/d226f8656912f49a143e9a034da5826a2482b3cc

commit d226f8656912f49a143e9a034da5826a2482b3cc
Author:     Mooli Tayer <mtayer>
AuthorDate: Wed Dec 27 12:58:48 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Jan 3 12:07:28 2018 -0500

    Merge pull request #132 from yaacov/use-cadvisor-job-for-prometheus-metrics
    
    Improve Prometheus metrics collection
    (cherry picked from commit 63c6681fc93388f4c66fefb1e55cca6bbe2fff03)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1530734

 .../metrics_capture/capture_context_mixin.rb       |  80 --------
 .../hawkular_legacy_capture_context.rb             |  80 ++++++++
 .../metrics_capture/prometheus_capture_context.rb  | 124 +++++++-----
 .../metrics_capture/prometheus_client_mixin.rb     |   4 +
 manageiq-providers-kubernetes.gemspec              |  14 +-
 .../prometheus_capture_context_spec.rb             |  51 ++---
 ...rometheus_capture_context_container_metrics.yml |  26 +--
 ...ometheus_capture_context_container_timespan.yml |  26 +--
 .../prometheus_capture_context_node_metrics.yml    |  88 ++------
 .../prometheus_capture_context_node_timespan.yml   |  88 ++------
 .../prometheus_capture_context_pod_metrics.yml     |  90 ++-------
 .../prometheus_capture_context_pod_timespan.yml    |  90 ++-------
 .../prometheus_capture_context_refresh.yml         | 225 +++++++++++----------
 .../kubernetes/monitoring_manager_custom_ssl.yml   |   2 +-
 14 files changed, 413 insertions(+), 575 deletions(-)

Comment 6 errata-xmlrpc 2018-03-01 13:23:06 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/RHSA-2018:0380