Bug #39971
closed
- Status changed from New to In Progress
- Assignee set to Kiefer Chang
WIP. Also thinking if it's possible to add some checks in CI for future changes.
- Pull request ID set to 28169
- Status changed from In Progress to Fix Under Review
- Backport set to nautilus
- Regression changed from No to Yes
- Related to Bug #39652: Grafana dashboards use outdated metric names from the prometheus module added
As Lenz mentioned in standup, one approach to prevent this mismatch is to add e2e tests for these pages. (This requires accompanying Prometheus and Grafana instance running)
Another approach is to create a file that maintains mappings from uids in Angular template to those in Grafana dashboards. And a script is created to check those values are identical. If a developer updates Grafana dashboard with a new uid and does not update corresponding ones in Angular templates, the script should spot this.
- Status changed from Fix Under Review to Pending Backport
- Target version set to v15.0.0
- Copied to Backport #40006: nautilus: Several embedded Grafana dashboards are not displayed due to changed uids added
- Related to Bug #40008: mgr/dashboard: Need a method to check references to Grafana dashboards are correct or exist added
- Status changed from Pending Backport to Resolved
- Project changed from mgr to Dashboard
- Category changed from 148 to Monitoring
Also available in: Atom
PDF