-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix: Update apisix-grafana-dashboard.json #12100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
grafana decrepted all panels that made using angular panels and added react as base framework for new panels. due to that reason i edited this json file and updated new things for supporting react as base library
Hi @Baoyuantop, any chance to review the changes? |
Yes, I'm on it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please format json with 2 spaces for a clearer view diff.
I changed the file’s indentation to 2 spaces, and now the changes are visible |
@Baoyuantop good to merge? |
Grafana has officially deprecated and removed support for Angular-based panels from Grafana 8.x onward. All new and existing panels now require React as the base framework.
Relevant Grafana documentation:
https://grafana.com/developers/plugin-tools/migration-guides/angular-react/
https://grafana.com/docs/grafana/latest/developers/angular_deprecation/
Description
This PR updates the existing Apache APISIX Grafana dashboard JSON to replace deprecated Angular-based panels with their React-based equivalents:
Singlestat → Stat
Graph → Time Series
Replaced "type": "singlestat" with "type": "stat".
Replaced "type": "graph" with "type": "timeseries".
Which issue(s) this PR fixes:
The current Apache APISIX Grafana dashboard uses panels that no longer function in Grafana v8.x and later due to Grafana’s removal of AngularJS support. Without migrating these panels, users encounter errors:
"This panel requires Angular support in Grafana."
This update resolves the issue by ensuring compatibility with current and future Grafana releases.
Checklist