Plugin error in Grafana 7.4
See original GitHub issueHi,
After upgrading Grafana from 7.3.x to 7.4 some existing diagram panels show the following error in the top left corner:
Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
The only way to get it working again was duplicating the “good” panels and changing the queries/configuration to show the same data than the broken panels.
If you try to create a new dashboard with an empty Diagram Panel it shows the error too.
How to reproduce it: It happens too installing a new instance of Grafana on Docker using the image version grafana/grafana:7.4.0, installing the 1.7.1 version of the Diagram Panel, creating a new dashboard and adding a Diagram panel.
Hope it helps. Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:15
- Comments:7 (4 by maintainers)
Top GitHub Comments
This is unfortunately due to an API breakage in Grafana 7.4. The Legend components used in this plugin should’ve been marked as internal by the Grafana team, as they weren’t yet ready for the prime time. Instead they were exported, allowing plugin authors to discover, and to (rightfully) use them.
With https://github.com/grafana/grafana/pull/30165, these components were removed in favor of VizLegend. The error is a result of the plugin using components that have been removed.
I’ll update this when as I learn more about how we can fix this.
https://github.com/grafana/grafana-plugin-repository/pull/924