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.
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.
We did not have time to fix this issue this sprint. Will reevaluate and try to fix in next sprint.
Assigning to Rastislav since this appears to be for the utilization chart on the Project Overview tab.
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
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