supabase-grafana icon indicating copy to clipboard operation
supabase-grafana copied to clipboard

replace all instances of deprecated angular graph plugin with timeseries plugin

Open jpetrucciani opened this issue 6 months ago • 2 comments

What kind of change does this PR introduce?

Newer versions of Grafana (from 9) have deprecated the use of the plugins that use Angular (deprecation notice here), and it has been fully removed as of Grafana 11. This PR updates the included dashboard.json spec to convert legacy graph plugins to use the newer builtin timeseries plugin, while maintaining the existing style/formatting

What is the current behavior?

Use of the included dashboard on versions of Grafana 9+ will show warnings on each of the graph plugins, and starting with Grafana 11, will stop working

What is the new behavior?

All of the affected plugins have been converted to the builtin timeseries plugin

Additional context

I've tested this on one of my existing Grafana 10 installs, and the dashboard looks as it should, but removes the alerts/warnings for deprecated plugin use! Please try out installing this via the json spec - I've been testing it by fully removing and re-adding by this json spec alone.

This was decently time consuming to do, so I wanted to be sure to raise this in case it saves other people some tedious work!

jpetrucciani avatar Jul 26 '24 14:07 jpetrucciani