Bug 1387286 - Pie-chart showing resource limits on metrics tab seems out-of-place
Summary: Pie-chart showing resource limits on metrics tab seems out-of-place
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-20 14:29 UTC by Justin Pierce
Modified: 2017-07-24 14:11 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The pod metrics page now shows the current usage donut to the right of the metrics sparkline. It was previously above. This lets you see more metrics on the screen at once.
Clone Of:
Environment:
Last Closed: 2017-04-12 19:07:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Current layout screenshot (80.40 KB, image/png)
2016-10-20 14:29 UTC, Justin Pierce
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0884 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.5 RPM Release Advisory 2017-04-12 22:50:07 UTC

Description Justin Pierce 2016-10-20 14:29:02 UTC
Created attachment 1212550 [details]
Current layout screenshot

Description of problem:

- When a pod has a resource limit, I found the size & location of the pie-chart showing current use/limit stylistically out-of-place with the other detailed graphs.  
- The resource constraint pie-charts cause the vertical size of the otherwise compact/information dense timeline graphs to (likely) require scrolling. Along with the visual breaks caused by the whitespace of the pie-charts, the scrolling makes it unnecessarily difficult to systemically "take-in" the timelines all at once and see correlations.  
- The stylized stacked text (e.g. 7 of 512Mi Available) was also difficult to parse visually.

Suggestions:
- It seems the resource constraints could be visualized as a red line or shaded areas in corresponding timeline graph. 
- If not within the timeline graph itself, perhaps simply grouping the pie-charts into a single "Resource Constraint" row would work.
- I think it would also be informative to render the "requested" resource line as a guideline for how much the deployment was anticipated to be using on average.

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

How reproducible:
100% - by design

Steps to Reproduce:
1. Create a pod with a resource limit (e.g. jenkins ephemeral template)
2. Navigate to the metrics tab for the running pod
3.

Actual results:


Expected results:


Additional info:

Comment 2 Troy Dawson 2017-01-20 23:23:42 UTC
This has been merged into ocp and is in OCP v3.5.0.7 or newer.

Comment 3 Yanping Zhang 2017-01-22 08:03:28 UTC
Checked on OCP v3.5.0.7
Steps to verify:
1.After metrics is deployed, create pods in project, and set resource limits to one pod, the other pod has no resource limits set. 
2.Check pods' metrics on web console. 
Actual result:
2.For pod with resource limits set, the donut chart shows on the right of the metrics sparkline; For pod without resource limits set, no donut chart shown, and the metrics sparklines are 100% width.

The bug has been fixed, so move it to Verified.

Comment 5 errata-xmlrpc 2017-04-12 19:07:36 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-2017:0884


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