Bug 1882361 - Retrieve and expose the latest report for the cluster
Summary: Retrieve and expose the latest report for the cluster
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.7.0
Assignee: Jose Luis Segura
QA Contact: Pavel Šimovec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-24 11:21 UTC by Jose Luis Segura
Modified: 2021-02-24 15:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:19:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 163 0 None closed Bug 1882361: Get report from smart-proxy and expose overview as a metric 2021-01-18 10:00:44 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:20:58 UTC

Description Jose Luis Segura 2020-09-24 11:21:12 UTC
The Operator should retrieve the lstest report available for the cluster from Smart Proxy running in cloud.redhat.com and expose it to be used by other services that can take advantage of that info.

The report should be exposed using Prometheus metrics

Comment 6 Pavel Šimovec 2020-11-02 15:40:29 UTC
Needed to verify if the new metrics are available:
# HELP health_statuses_insights [ALPHA] Information about the cluster health status as detected by Insights tooling.
# TYPE health_statuses_insights gauge
health_statuses_insights{metric="critical"} 0
health_statuses_insights{metric="important"} 0
health_statuses_insights{metric="low"} 1
health_statuses_insights{metric="moderate"} 0
health_statuses_insights{metric="total"} 1

VERIFIED on 4.7.0-0.nightly-2020-10-27-051128

Comment 10 errata-xmlrpc 2021-02-24 15:19:20 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: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633


Note You need to log in before you can comment on or make changes to this bug.