Bug 1719481

Summary: Project status page resource usage is not optimal
Product: OpenShift Container Platform Reporter: Clayton Coleman <ccoleman>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, jokerman, mmccomas, spadgett, xiaocwan
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:31:56 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:
Attachments:
Description Flags
resource usage graph
none
Pod usage graph none

Description Clayton Coleman 2019-06-11 23:01:46 UTC
https://www.dropbox.com/s/csqbuv0r2fnw8xu/Screenshot%202019-06-11%2018.57.40.png?dl=0

The resource usage box doesn't convey the overall project well.

1. The CPU usage and memory usage charts are too short - they should be 2x the height
2. Memore usage by pod is too short for pod names - when we are in a wide view (this was ~1800 px) I should be able to see a much larger chunk of the pod name
3. The left and right portions of the chart x-axis (time) were hard to guess at - I had to infer that these were 5 minute intervals, then assign those to right and left.  Expected to get a label at the right edge or left edge.

The "openshift console" "up" Health section doesn't make much sense.  I'm on the console, viewing the page.  Of course it's up.  We should pick a different health item to show there.

Comment 1 Jon Jackson 2019-06-14 21:11:30 UTC
https://github.com/openshift/console/pull/1727

Comment 2 Samuel Padgett 2019-06-17 17:15:46 UTC
Putting x-axis ticks at the left and right edges of the graph would show values that aren't round numbers. We opted to add the timestamp to the tooltip instead.

The one item we didn't address is the OpenShift Console health widget. We'll look at that in a follow on.

Comment 5 XiaochuanWang 2019-06-26 06:41:09 UTC
According to the expect fixing (https://github.com/openshift/console/pull/1727)
The usage graph is correctly display now. Please refer to the screenshot.
Verified on 4.2.0-0.nightly-2019-06-25-222454
Image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:18555084be5def960d447d20ce5074052bf6c012197e610f9d2ac947b1ddaea2

Comment 6 XiaochuanWang 2019-06-26 06:41:54 UTC
Created attachment 1584612 [details]
resource usage graph

Comment 7 XiaochuanWang 2019-06-26 06:42:20 UTC
Created attachment 1584613 [details]
Pod usage graph

Comment 9 errata-xmlrpc 2019-10-16 06:31:56 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-2019:2922