Created attachment 1799224 [details]
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):
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
2. Install an apiserversource and related kafka channel:
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.
Scale does not changed.
Scale should be changed.
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.