Created attachment 1952705 [details] inspect example Description of problem: Currently, there is no button "inspect" in virtualization metrics pages. So when there is no data, user don't know what's wrong and what's the query, add the inspect button there allow user to click it and get the query details. Ref to the attachment for example. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Move this to high as it's a very import improvement to let the user understand what's the query is and why no graph shows on UI.
Guohua, I guess you are referring to the VM Metric tab and only when there is no data (when there is data, you can click the graph to inspect it), is this correct?
(In reply to Ronen from comment #2) > Guohua, I guess you are referring to the VM Metric tab and only when there > is no data (when there is data, you can click the graph to inspect it), is > this correct? If we add this inspect button, it should be added there no matter the graph is showing or not. > when there is data, you can click the graph to inspect it This is kind of unexpected result as it opens another page without a hint. While clicking the graph in Observe -> Dashboards, it does not open the metrics until clicking the inspect button. Maybe we should remove the link in the graph after adding the inspect button.
This is the behavior across all OCP: If you view the metrics tab of any pod, clicking a graph will take you to the Metrics page. The issue we have is that when the graph has no data, we do not enable the click, while for pods it will still take you to the Metrics page. WDYT?
Ah, I just checked the behavior on Pod, and it takes you to metrics details when there is no graph. I agree with you to enable the click even there is no data would solve the problem we have.
verified on kubevirt-console-plugin-rhel9-container-v4.14.0-2606
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 (Important: OpenShift Virtualization 4.14.0 Images security and bug fix 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-2023:6817