Hide Forgot
tested with 4.8.0-0.nightly-2021-05-21-233425, there are 3 dashboards on "Monitoring -> Dashboards" have dropdown filters that should default to "All", but Kubernetes / Networking / Pod -> Namespace field should default to "All", but it sets the default to the first value in the list, usually openshift-apiserver Kubernetes / Networking / Namespace (Pods) -> Namespace field should default to "All", but it sets the default to the first value in the list, usually openshift-apiserver Prometheus / Overview -> Job,Instance fields default to "All", no issue for this dashboard
Created attachment 1786233 [details] Kubernetes / Networking / Namespace (Pods) dashboard default value is openshift-apiserver
Created attachment 1786234 [details] Kubernetes / Networking / Pod dashboard default value is openshift-apiserver
This looks like the expected behavior. We only use "All" as the default value when the dashboard definition explicitly states that we should. Grafana seems to have a different behavior of also defaulting to "All" when no default is specified. Specifically, we are looking for the following in the JSON dashboard definition: "current": { "selected": true, "value"" "$__all", }
based on Comment 7, only the "Prometheus / Overview" dashboard, which use the grafana-dashboard-prometheus configmap has the JSON dashboard definition: "current": { "selected": true, "value"" "$__all", } and Job,Instance fields default to "All", set to 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.8.2 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:2438