Bug 1998015

Summary: Observe > Metrics / Dashboards performance: Graph tooltips process all points even if they won't be displayed
Product: OpenShift Container Platform Reporter: Andrew Pickering <anpicker>
Component: MonitoringAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.9CC: amuller, anpicker, aos-bugs, erooth
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:49:07 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:

Description Andrew Pickering 2021-08-26 09:26:58 UTC
The graph tooltip shows the data for a single timestamp. There can be hundreds of data points for the timestamp, but the tooltip is limited to showing the top 20. In this case, the code is quite inefficient because it both sorts and then processes all data points before throwing away all but the top 20.

Comment 3 Junqi Zhao 2021-08-30 12:26:36 UTC
checked with 4.9.0-0.nightly-2021-08-29-010334, the tooltip shows the top 20 results, and the it takes less time to get the result

Comment 11 errata-xmlrpc 2021-10-18 17:49:07 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.