-
Bug
-
Resolution: Done-Errata
-
Minor
-
4.14.0
-
None
-
Low
-
No
-
False
-
Description of problem:
administrator console UI, admin user goes to "Workloads -> Pods", select one project, example: openshift-console, select one pod and go to Pod details page, click "Metrics" tab, then click on "Network in" or "Network out" graph, it will show the prometheus expression, would find there are spaces before and after "pod_network_name_info", it's "( pod_network_name_info )", "pod_network_name_info" is enough
"Network in" expression
(sum(irate(container_network_receive_bytes_total{pod='console-5f4978747c-vmxqf', namespace='openshift-console'}[5m])) by (pod, namespace, interface)) + on(namespace,pod,interface) group_left(network_name) ( pod_network_name_info )
"Network out" expression
(sum(irate(container_network_transmit_bytes_total{pod='console-5f4978747c-vmxqf', namespace='openshift-console'}[5m])) by (pod, namespace, interface)) + on(namespace,pod,interface) group_left(network_name) ( pod_network_name_info )
Version-Release number of selected component (if applicable):
4.14.0-0.nightly-2023-05-19-234822
How reproducible:
always
Steps to Reproduce:
1. see the description 2. 3.
Actual results:
there are spaces before and after pod_network_name_info
Expected results:
no additional spaces
Additional info:
the bug does not have functional impact