replace all instances of deprecated angular graph plugin with timeseries plugin #29
+17,294
−8,542
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 legacygraph
plugins to use the newer builtintimeseries
plugin, while maintaining the existing style/formattingWhat 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
pluginAdditional 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!