dashboards icon indicating copy to clipboard operation
dashboards copied to clipboard

Dashboard Dependancy Deprecated

Open lslamp opened this issue 1 year ago • 8 comments

Dear David,

Thank you again for such great dashboards. Only in the last months I have noticed that there seems to be a warning that has popped up after I upgraded Grafana the last time. See image below.
"Angular plugin This plugin uses a deprecated, legacy platform based on AngularJS and will stop working in future releases of Grafana."

image

I am a complete novice when it comes to Grafana and the dashboards. How can I resolve this issue. Is there a fix for this?

Thanks Lawrence

lslamp avatar Mar 25 '24 21:03 lslamp

This warning is displayed because the dashboard relies on Visualizations that uses Angular. If you try to edit the individual visualizations that show the warning, you'll see that they use a type that is now called "old", e.g. Graph (old). In 99% of the cases this can be fixed by using the "new" equivalent type. For the type Graph, use the Time Series type.

All Visualizations that rely on Angular will stop working with the release of Grafana 11! This releases is currently expected in May. See the grafana website for more info: https://grafana.com/docs/grafana/latest/developers/angular_deprecation/

chrede88 avatar Apr 06 '24 17:04 chrede88

@chrede88 Christian, Thank for the pointer. I will try this later and see if it resolved the warning. Lawrence

lslamp avatar Apr 08 '24 07:04 lslamp

@chrede88 Christian, your suggestion worked for most of the dashboards. The issue that I have run into is twofold. The first issue is that there are many panels that do not show the edit option so I cannot change the pluging. So how can I change the panels without the edit option. The second issue is that there are like 300 panels still to do, is there a way to do a mass update at all?

Thanks Lawrence

lslamp avatar Apr 12 '24 10:04 lslamp

So how can I change the panels without the edit option.

Those are repeating panels. If you edit the first one, the repeaters will update as well.

is there a way to do a mass update at all?

Everything is possible, but it may not be something you're able to do.

There are a lot of Grafana tutorials out there; I recommend checking a few out to upgrade your knowledge on this subject.

Lastly, the warning about Angular is just a warning. You can ignore it.

davidnewhall avatar Apr 12 '24 17:04 davidnewhall

@davidnewhall Thank you for the reply. I did come to realize that the panels that cannot be edited will all update after updating the primary. It only took a little time on my server for some reason. As for the mass update. I ended up doing it all manually. I also did realize that the Angular thing was a warning but that would be an issue after the next upgrade of grafana. I have now updated all the panels and all is good again.

Lastly, is it possible to get the unifi devices temperature using unpoller?

Thanks Lawrence

lslamp avatar Apr 13 '24 00:04 lslamp

Lastly, is it possible to get the unifi devices temperature using unpoller?

Possible, of course. Might already do it now. Depends on the device.

davidnewhall avatar Apr 13 '24 15:04 davidnewhall

I have added the following Unifi Home dashboard to Grafana but there are one or two panels that do not work. He also mentions that the dashboard is utilized in conjunction with Unifi-Poller (I assume that Unpoller and Unifi-poller are one and the same.) https://grafana.com/grafana/dashboards/12502-unifi-home/ On the dashboard he has a panel that has no data, well two panels that have no data. The queries linked to the no data are .

  1. SELECT last("temp_CPU") FROM "usg" WHERE ("site_name" =~ /^$Site$/ AND "source" =~ /^$Controller$/) AND $timeFilter this seems related to CPU temperature. If I use the commandline to query the influxdb and only run the command SELECT last("temp_CPU") FROM "usg" I get nothing back? How can I check if there is a column within the usg table for the CPU Temp?

  2. SELECT distinct("ip") FROM "usg" WHERE ("site_name" =~ /^$Site$/ AND "source" =~ /^$Controller$/) AND $timeFilter GROUP BY "model", "version" this seems to be related to ip address and controller version. If I use the commandline to query the influxdb and only run the command SELECT distinct("ip") FROM "usg" I am given the local upaddress and the external WAN ipaddress, but if I add only this commend into the query section of the panel I still get no data. Why do I get the ipaddress on the commandline and nothing within the panel?(the panel is a table type)

any ideas? Thanks Lawrence

lslamp avatar Apr 15 '24 09:04 lslamp

So how can I change the panels without the edit option.

Those are repeating panels. If you edit the first one, the repeaters will update as well.

is there a way to do a mass update at all?

Everything is possible, but it may not be something you're able to do.

There are a lot of Grafana tutorials out there; I recommend checking a few out to upgrade your knowledge on this subject.

Lastly, the warning about Angular is just a warning. You can ignore it.

@davidnewhall After updating the primary panel, how long should it be before all the other panels get updated?

I am having issues with the USG Gateway panel that I have had to delete and replace, but after updating the primary, the cascading panels don't seem to follow. This was done days ago now.

Lawrence

lslamp avatar Apr 20 '24 07:04 lslamp

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 21 '24 02:05 github-actions[bot]

Bumping this as grafana v11 has now been released. This release marks the end-of-life of AngularJS panels. See docs: https://grafana.com/docs/grafana/latest/breaking-changes/breaking-changes-v11-0/#angularjs-support-is-turned-off-by-default

This is break many of the panels in the provided unpoller dashboards!

chrede88 avatar May 21 '24 09:05 chrede88

This can be closed but if anyone needs feedback. I am happy to help

lslamp avatar May 21 '24 09:05 lslamp

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jun 21 '24 02:06 github-actions[bot]

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 22 '24 02:07 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jul 30 '24 02:07 github-actions[bot]