grafana / detect-angular-dashboards

Detect dashboards depending on Angular data source and panel plugins on a running Grafana instance using the Grafana API.
Apache License 2.0
12 stars 4 forks source link

Add warning for "Graph (old)" panels #1

Closed xnyo closed 1 year ago

xnyo commented 1 year ago

Adds a warning for all "Graph (old)" panels (pluginID: graph).

It will be migrated to the timeseries panel (its replacement), but it can cause some weird behaviour while migrating.

Example output:

2023/09/28 13:49:49 Detecting Angular dashboards for "http://127.0.0.1:3000/api"
2023/09/28 13:49:49 (WARNING, dependencies on private plugins won't be flagged)
2023/09/28 13:49:50 Found dashboard with Angular plugins "New dashboard Copy" "http://127.0.0.1:3000/d/GQQRb0ZIz/new-dashboard-copy":
2023/09/28 13:49:50 Found "Graph (old)" panel "example". It can be migrated to a "Timeseries" panel by Grafana when opening the dashboard.