Bug 1904106 - Graphs in dev console shouldn't go below 0
Summary: Graphs in dev console shouldn't go below 0
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.12.0
Assignee: Jaivardhan Kumar
QA Contact:
Shreya Siddhartha
Depends On:
TreeView+ depends on / blocked
Reported: 2020-12-03 15:18 UTC by Tim deBoer
Modified: 2023-01-17 19:46 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, when there was no/minimal data, the default value was set for the Y-axis on graphs between the range of -1 to 1. As a result, when there was no/minimal data in the *Developer Console*, the monitoring charts or graphs, for example, CPU consumption, memory, usage, and bandwidth, show between the range of -1 to 1. However, these values could never go below 0. With this fix, the default value is updated for the Y-axis between the range of 0 to 1. As a result, the monitoring charts or graphs show between the range of 0 to 1 and none of the values show below 0. (link:https://bugzilla.redhat.com/show_bug.cgi?id=1904106[*BZ#1904106*])
Clone Of:
Last Closed: 2023-01-17 19:46:21 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 12087 0 None open Bug 1904106: Fix Y-axis labels for minimal / no data 2022-09-27 14:05:53 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:46:40 UTC

Description Tim deBoer 2020-12-03 15:18:16 UTC
Description of problem:
In the dev console when there is minimal/no data, most of the monitoring charts (CPU/memory use, bandwidth, etc) show a range of -1 to 1. None of these values can ever go below zero so the default looks very odd, and changes/jumps quite a bit the moment there is any data.

How reproducible:

Steps to Reproduce:
Look at a pod that hasn't had any activity or scale one to zero.

Actual results:
Default charts show range of -1 to 1 with no units.
When there is data the graph changes completely and adds units.

Expected results:
Option 1 - The bottom end of the range should be 0 for all of these charts, and ideally have unit labels (e.g. memory could be 0M to 1M)
Option 2 - If there is no data, show 'no data' instead of showing a chart.

Comment 1 Andrew Ballantyne 2021-01-13 17:53:10 UTC
Moving to 4.8 as we likely can't get this into 4.7 due to bandwidth.

Comment 3 Rishu Mehra 2021-02-19 15:53:38 UTC
Updated the doc text field.

Comment 17 Jaivardhan Kumar 2022-10-10 11:13:48 UTC
Verified on 4.12.0-0.ci-2022-10-09-233202

could see the default value for the Y-axis is [0,1].

Comment 21 errata-xmlrpc 2023-01-17 19:46:21 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.12.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.


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