Created attachment 1738137 [details] no value hovering charts Description of problem: When viewing CPU/Memory usage charts on Pod Details page, Version-Release number of selected component (if applicable): 4.7.0-0.nightly-2020-12-09-112139 How reproducible: Always Steps to Reproduce: 1. cluster admin views console pod CPU/Memory usage charts via Workloads -> Pods -> choose 'openshift-console' and click on one console pod 2. 3. Actual results: 1. at the beginning, CPU/Memory usage is shown and hover the charts can show correct value at one time, after several seconds, hovering will show black square, no values are shown, in browser console we can see some warnings: Unexpected value NaN parsing y attribute. vendors~main-chunk-87bc5be0297594a8b4aa.min.js:169353 Unexpected value NaN parsing x attribute. vendors~main-chunk-87bc5be0297594a8b4aa.min.js:169353 Expected results: 1. charts value can always show when hovering Additional info:
This seems to be an intermittent issue. I reached out to PatternFly because I'm stumped. The data we're passing in looks ok.
I haven't heard anything from PatternFly yet. It looks like we're passing good data into PatternFly functions, and that they're not always returning information. I'll bug them again today or Monday if I don't hear back.
The functions we're using from PatternFly aren't intended to be third-party APIs. PatternFly suggested finding a way to reproduce it with the standard PatternFly component, since we're using a custom tooltip. I brought up switching over to PatternFly tooltips in scrum and there didn't seem to be a reason we're using custom code here. I'll try passing in the PatternFly tooltip instead and see what happens.
Version 4.8.0-0.nightly-2021-02-26-221801 Steps to Reproduce: 1. cluster admin views console pod CPU/Memory usage charts via Workloads -> Pods -> choose 'openshift-console' and click on one console pod 2. intermittently checked the graphs page for 45 mins Now the charts value are always showing up when hovering over the data points on the graph.
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.8.2 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:2438