Created attachment 1799224 [details] scale issue Description of problem: Dashboards do not support automatic unit transformation for time. If value is at the sec scale it should be mapped accordingly. Attached screenshot shows a case where instead of seeing 10 secs user sees 10K ms. It seems that this is already supported for bytes. This affects Serverless dashboards. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install Serverless operator from master (https://github.com/openshift-knative/serverless-operator) with Knative Eventing, Serving and Kafka make images install make install-strimzi make install-kafka 2. Install an apiserversource and related kafka channel: https://gist.github.com/skonto/2c7eeab8b3d1d4ea3d007017971d0ea6 3. Check Knative channel dashboard after a few minutes Note here that in the same graph there are values at very different magnitude (attached file). In general this should be reproducible with any dashboard that relies on time units. Actual results: Scale does not changed. Expected results: Scale should be changed. Additional info:
tested with 4.9.0-0.nightly-2021-07-11-143719, followed steps in Comment 0 docker version 20.10.7 # yq --version yq version 3.4.1 # oc get clusterserviceversion NAME DISPLAY VERSION REPLACES PHASE serverless-operator.v1.17.0 Red Hat OpenShift Serverless 1.17.0 serverless-operator.v1.16.0 Succeeded values on the graph use the same magnitude, for UX if value > 1000, will convert to sec otherwise will still use ms see from the picture
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