Monitor cluster health charts does not load
Summary
Due to a recent change !19279 (diffs) in monitoring dashboard the monitoring cluster health page charts do not load anymore.
Steps to reproduce
- Navigate to operations > kubernetes > any cluster
- Scroll down and observe that the Cluster health section does not load charts anymore
Relevant logs and/or screenshots
Possible fixes
For cluster health page, the payload does not have all_dashboard
property because of which the below check fails.
selectedDashboard() {
return this.allDashboards.find(d => d.path === this.currentDashboard) || this.firstDashboard;
}
Edited by Dhiraj Bodicherla