Bug #39971
closedSeveral embedded Grafana dashboards are not displayed due to changed uids
0%
Description
Some embedded Grafana dashboards's uids were changed recently:
PR: https://github.com/ceph/ceph/pull/28043
Tracker: http://tracker.ceph.com/issues/39652
This leads to some performance data page not displayed because mismatched uid.
Also in Cluster->OSDs page: if a user clicks an OSD, the corresponding dashboard in Performance Details always refers to osd.0.
Updated by Kiefer Chang almost 5 years ago
- 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.
Updated by Nathan Cutler almost 5 years ago
- Status changed from In Progress to Fix Under Review
Updated by Lenz Grimmer almost 5 years ago
- Backport set to nautilus
- Regression changed from No to Yes
Updated by Lenz Grimmer almost 5 years ago
- Related to Bug #39652: Grafana dashboards use outdated metric names from the prometheus module added
Updated by Kiefer Chang almost 5 years ago
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.
Updated by Lenz Grimmer almost 5 years ago
- Status changed from Fix Under Review to Pending Backport
- Target version set to v15.0.0
Updated by Nathan Cutler almost 5 years ago
- Copied to Backport #40006: nautilus: Several embedded Grafana dashboards are not displayed due to changed uids added
Updated by Kiefer Chang almost 5 years ago
- Related to Bug #40008: mgr/dashboard: Need a method to check references to Grafana dashboards are correct or exist added
Updated by Nathan Cutler almost 5 years ago
- Status changed from Pending Backport to Resolved
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 148 to Monitoring