Bug 1904155 - Graphs on utilization tab don't respect timespan selection
Summary: Graphs on utilization tab don't respect timespan selection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.9.0
Assignee: Jon Jackson
QA Contact: Siva Reddy
URL:
Whiteboard: Scrubbed
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-03 17:41 UTC by Tim deBoer
Modified: 2021-10-18 17:29 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Utilization charts on Cluster/Project overview pages y-domain only showed timespan of data. Consequence: Caused some confusion because sometimes the selected timespan did not match the graphs y-domain. Fix: Force overview utilization chart y-domains to match the selected timespan. Result: Overview utilization charts are less confusing. Data is always shown on the correct timespan.
Clone Of:
Environment:
Last Closed: 2021-10-18 17:28:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The utilization chart with time frame (244.01 KB, image/png)
2021-07-12 21:38 UTC, Siva Reddy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9096 0 None open Bug 1904155: Make utilization chart domain match duration 2021-06-01 14:47:05 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:29:10 UTC

Description Tim deBoer 2020-12-03 17:41:05 UTC
Description of problem:
On the dev console Project page there is a Utilization pane with a timespan selection (1h, 6h, or 24h). The natural assumption if you select any of these is that it'll show the last X hours of data, but if there is missing data (e.g. if it's a new project) it stretches the data across the whole chart. Until you look closely at the times this gives the false impression that the project has been busy for the entire time.

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

How reproducible:
Always

Steps to Reproduce:
Start a new project and let it run for 20 minutes, then look at the Utilization. On first glance it'll look like it has been running for hours.

Expected results:
If (e.g.) the timespan is 6h but there is only 3h of data, the graph should start 6h in the past and the first half should be blank/empty.

Comment 5 Chris Shinn 2020-12-11 16:19:21 UTC
I know that there are some new charts showing up in a few places (pipeline metrics etc) and I think it's more important to make sure that this behaves the same way across all of them. Not sure whether that lends itself better to RFE or bug though.

Comment 6 Jakub Hadvig 2020-12-23 16:14:28 UTC
We did not have time to fix this issue this sprint. Will reevaluate and try to fix in next sprint.

Comment 7 Samuel Padgett 2021-01-20 16:03:21 UTC
Assigning to Rastislav since this appears to be for the utilization chart on the Project Overview tab.

Comment 17 Siva Reddy 2021-07-12 21:38:57 UTC
Created attachment 1800966 [details]
The utilization chart with time frame

Now the time duration shows up properly to the correct selection.

Cluster Version:
 4.9.0-0.nightly-2021-07-12-095728

Steps to verify:
  1. login to console and navigate to Home>Project overview.
  2. For the utilization graphs change the time period to 1hr, 6hr and 24 hr

  Now the time frame is adjusted appropriately.
attached screen shot

Comment 24 errata-xmlrpc 2021-10-18 17:28:58 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.9.0 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:3759


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