Bug 1962062
| Summary: | Monitoring dashboards should support default values of "All" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Andrew Pickering <anpicker> | ||||||
| Component: | Monitoring | Assignee: | Andrew Pickering <anpicker> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 4.8 | CC: | alegrand, anpicker, aos-bugs, erooth, jfajersk, kakkoyun, pkrupa | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.8.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2021-07-27 23:09:09 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Comment 4
Junqi Zhao
2021-05-24 02:26:35 UTC
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 |