-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
Dashboards: Angular Deprecation causes page to break #87960
Comments
Hi, do you think you could give a specific URL? I tried https://ops.grafana-ops.net/d/4aa6447917c0599aba81ccfd2bbb4aa4/prometheus-overview?orgId=1&var-datasource=default&var-cluster=prod-us-central-0&var-job=critical-o11y%2Fcritical-prometheus&var-instance=All&from=1715789054319&to=1715816325361&refresh=30m but wasn't able to reproduce the issue. @the-it |
This happens in our cluster internal admin instances. If you can't access them, we can hop on a call for a debug session. I send you the URL in a DM. |
Looking into it, I think it's happening because angular support is disabled on those instances. The crash when clicking the panel menu happens here, on line 277: grafana/public/app/features/dashboard/utils/getPanelMenu.ts Lines 275 to 278 in 5095ea8
grafana/public/app/angular/loadAndInitAngularIfEnabled.ts Lines 22 to 34 in 5095ea8
Since |
What happened?
We run some non-cloud Grafana instances in our internal clusters as a backup for our product teams.
Today I noticed the Angular deprecation banner and tried the "Try migration"-button to see what diff I need to apply. The button was doing nothing. After that I tried to edit the panel via the menu in the top right corner of the panel (even the click on the menu was enough). This caused the page to break.
After that I took a dump of the json and applied them to our ops Grafana cloud instance. There the complete dashboard just appears normal, without any deprecation warning.
What did you expect to happen?
Did this work before?
don't know
How do we reproduce it?
Is the bug inside a dashboard panel?
can't do ... as I can't reach this button without killing the page
Environment (with versions)?
Grafana: Grafana v11.1.0-70865 (f4d55d2)
OS: Ubuntu 23/10
Browser: Chromium Version 124.0.6367.201 (Official Build) snap (64-bit)
Grafana platform?
Kubernetes
Datasource(s)?
No response
The text was updated successfully, but these errors were encountered: