-
Notifications
You must be signed in to change notification settings - Fork 68
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
breaking dashboards after version upgrade 3=>4 #730
Comments
Hello! Thank you for the issue report. This sounds like an issue with the query migration logic from v3 to v4. Can you share the panel/query json of the original (broken) query? Also include the fixed version if you have one. Thanks! |
Hi Spencer, actually it happens on new dashboards as well. i have created one new dashboard with plugin version 3 and one with 4. The results are the same as in my initial post Attached the exported JSON V3 V4 I hope that helps. Otherwise i can setup a grafana cloud instance and share access Thanks a lot for checking this issue! |
So it looks like the migration script is working correctly. When updating v4 all of my testing showed that there was no change to the panel data within dashboard view when editing the This query proved me wrong. Even though the panel type can be manually selected, the To fix this, I have re-enabled the Thank you for submitting this issue, hopefully we can get this deployed soon for you. 👍 |
What happened:
All dashboards break after upgrading the plugin from 3 => 4
What you expected to happen:
Everything should stay the same or improve
How to reproduce it (as minimally and precisely as possible):
I was able to break it down to the missing selector
Format
in QueryBuilder.In version 3 i add a new graph as timeseries and define this query
In Format i select "Time Series". The graph is correctly showing a timeseries including my group-by data.
In version 4 the Format selector is missing. The time series graph is always ignoring the group-by data and only showing a wired graph with count() information.
I did check the JSON model of the dashboard and i see that it was marked as
"queryType": "table"
.If i change manually the JSON model to
timeseries
it works again.How can I make a timeseries graph with group-by work again in plugin version 4?
Anything else we need to know?:
Version 4:
Version 3:
Environment:
The text was updated successfully, but these errors were encountered: