Description of problem: When viewing dashboards at Monitoring -> Dashboards, it reports parse error: missing unit character in duration, query request returns 400 Bad Request Version-Release number of selected component (if applicable): 4.5.0-0.ci-2020-03-10-225406 How reproducible: Always Steps to Reproduce: 1. cluster admin user visit Monitoring -> Dashboards and view dashboards from dropdown Actual results: 1. on many pages we can see parse error: missing unit character in duration and GET request returns 400 Bad Requests too, take one as example https://console-openshift-console.apps.juzhao-45.qe.devcluster.openshift.com/api/prometheus/api/v1/query_range?start=1583918826.703&end=1583920626.703&step=60&query=%28sum%28irate%28container_network_transmit_packets_dropped_total%7Bcluster%3D%22%22%2C+namespace%3D%7E%22openshift-apiserver%22%7D%5B%24__interval%5D%29%0A*+on+%28namespace%2Cpod%29+%0Agroup_left%28workload%2Cworkload_type%29+mixin_pod_workload%7Bcluster%3D%22%22%2C+namespace%3D%7E%22openshift-apiserver%22%2C+workload%3D%7E%22.%2B%22%2C+workload_type%3D%22deployment%22%7D%29+by+%28workload%29%29%0A&timeout=5s Expected results: 1. dashboard should be loaded successfully without error Additional info:
*** Bug 1820672 has been marked as a duplicate of this bug. ***
Created attachment 1676174 [details] Dashboard error
Created attachment 1676175 [details] Grafana (no error)
This error is on the admin perspective monitoring dashboard.
We're not handling the `$__interval` variable: https://grafana.com/docs/grafana/latest/reference/templating/#the-interval-variable
Dashboards does not display any error now. Verified on 4.5.0-0.nightly-2020-04-26-203839
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, 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/RHBA-2020:2409