Bug 1948788

Summary: Clicking an empty metrics graph (when there is no data) should still open metrics viewer
Product: OpenShift Container Platform Reporter: Clayton Coleman <ccoleman>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jhadvig, jokerman, nmukherj, spadgett, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Scrubbed
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:59:54 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:

Description Clayton Coleman 2021-04-12 22:23:08 UTC
Actual:

1. User goes to a completed pod details page in web console
2. No metrics are displayed because the pod is complete and the metrics are out of the current window
3. Clicking on the empty spot for "no metrics" does nothing

Expected:

1. Clicking on the empty spot with "no metrics" opens to the prometheus metrics page exactly like it does when there are metrics.

Otherwise the user has no way to view the historical metrics when they are outside the current window, which is especially annoying for restart-never pods.

Comment 1 Jakub Hadvig 2021-04-13 08:58:03 UTC
This looks like Dev Console codebase issue.

Comment 2 Jakub Hadvig 2021-04-14 20:53:13 UTC
Sorry, realized that it is pod details page issue.

Comment 4 Xiyun Zhao 2021-04-20 01:27:57 UTC
This bug has been verified and fixed on payload 4.8.0-0.nightly-2021-04-19-121657

Verify Steps:
1. Goes to a completed pod details page in web console
2. Clicking on the empty spot for "no datapoints found'
3. Verify if user is able to open the Prometheus metrics page

Result:
3. User is able to link to metrics viewer even if graph is empty.

Comment 7 errata-xmlrpc 2021-07-27 22:59:54 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.8.2 bug fix and security 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-2021:2438