Project

General

Profile

Actions

Bug #40008

closed

mgr/dashboard: Need a method to check references to Grafana dashboards are correct or exist

Added by Kiefer Chang almost 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Monitoring
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Ceph Dashboard embeds Grafana dashboards by specifying uid in <cd-grafana> components.
If a Grafana dashboard is updated with uid changed, uid property in corresponding <cd-grafana> component should also be updated.
We need a method to ensure these references are correct, or at least exist.

In the short term, a script can be added to check a <cd-grafana> always refer to a existing Grafana dashboard.
In the long term, we can add some e2e tests to verify correctness of embedded dashboards.


Related issues 2 (0 open2 closed)

Related to Dashboard - Bug #39971: Several embedded Grafana dashboards are not displayed due to changed uidsResolvedKiefer Chang

Actions
Copied to Dashboard - Backport #42956: nautilus: mgr/dashboard: Need a method to check references to Grafana dashboards are correct or existResolvedKiefer ChangActions
Actions

Also available in: Atom PDF