Description of problem: Grafana shows wrong label on y-axis of network graphs. For example: For "Rate of received packet" graph, y-axis shows B/s (Bytes per second) but it should be P/s (Packets per second) Version-Release number of selected component (if applicable): 4.7 How reproducible: 100% Steps to Reproduce: 1. Open Grafana dashboard 2. Check network graph of any pod (Rate of received packets) 3. Actual results: Rate of received packets shows B/s on y-axis Expected results: Rate of received packets should show P/s (packets per second) on y-axis Additional info: https://github.com/openshift/cluster-monitoring-operator/pull/1269
The unit should be KPps or MPps, not kpps
At least the unit should be Kpps not kpps to align with other graphs.
@hongyan li According to the grafana unit definitions(based on SI units)[1], pps represents packets per second and its notation would be something like pps(p/s), kpps(kp/s), Mpps(Mp/s), Gpps(Gp/s)[2]. Other graph panels seem to be related to data in bytes which shall follow Bps, KBps, MBps,..etc., this particular changes are meant to represent packets. [1] https://github.com/grafana/grafana/blob/0757ba1c64d60160a435aeba1623f166683b503e/packages/grafana-data/src/valueFormats/categories.ts#L165 [2] https://github.com/grafana/grafana/blob/main/packages/grafana-data/src/valueFormats/symbolFormatters.ts#L64-L71
I know what pps mean packet of per second, just other graph display capital K, than is KBps, network graph display kpps, the k letter is little one.
according to pr https://github.com/grafana/grafana/pull/2955/files document https://en.wikipedia.org/wiki/Metric_prefix the unit kpps makes sense, close the bug as verified.
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. https://access.redhat.com/errata/RHSA-2021:3759