Skip to content
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

new release 1.4.1 breaks FlowCharting graph #145

Closed
misiek303 opened this issue Nov 2, 2022 · 15 comments · Fixed by #150
Closed

new release 1.4.1 breaks FlowCharting graph #145

misiek303 opened this issue Nov 2, 2022 · 15 comments · Fixed by #150
Assignees
Labels
type/bug Something isn't working

Comments

@misiek303
Copy link

After the upgrade from 1.2.6 to 1.4.1 FlorCharting graph broke some of the queries. Some of the queries are not available in the Mapping option -> Apply to column. The Property value is an INTEGER.

Grafana 9.2.2 version.

Before the upgrade
Screen Shot 2022-11-02 at 10 25 03 AM

After the upgrade
Screen Shot 2022-11-02 at 10 26 32 AM

Also after the upgrade, something else changed. The label of the fields.

This is how the Pie chart should look, showing the percentage and State text.
Screen Shot 2022-11-02 at 10 38 13 AM

And this is what happened after upgrade
Screen Shot 2022-11-02 at 10 36 46 AM

Is there any potential fix for that or a known issue that is going to be addressed soon?
Thanks

@misiek303 misiek303 added the type/bug Something isn't working label Nov 2, 2022
@misiek303 misiek303 changed the title new release 1.4.1 breaks FLowCharting graph new release 1.4.1 breaks FlowCharting graph Nov 2, 2022
@ryantxu
Copy link
Member

ryantxu commented Nov 2, 2022

Interesting... can you take a snapshot and attach it to this issue? https://grafana.com/blog/2022/10/17/grafana-9.2-release-troubleshooting-grafana-panels-with-a-new-support-feature/

@taleena
Copy link
Collaborator

taleena commented Nov 2, 2022

Also, what version of Grafana are you on (and did that remain the same)?

@misiek303
Copy link
Author

misiek303 commented Nov 2, 2022

Hi I mentioned in the post. It is 9.2.2 version. Thanks

That links take me to the post, not an issue. Also what snapshot would you like me to attach. I don't have anything besides I already snapped :). Thanks

@taleena
Copy link
Collaborator

taleena commented Nov 2, 2022

Got it, so you used 9.2.2 for both 1.2.6 and 1.4.1 versions of TwinMaker.

Ha, I got similarly confused! That post shows you how to make a snapshot, it's a new feature in 9.2. Once done, see if you can attach that to this same issue.

@misiek303
Copy link
Author

misiek303 commented Nov 3, 2022

Unfortunately, we run the Grafana on the local servers so you won't get access to snapshot URLs. Unless I misunderstood that feature.

I published to snapshots.raintank.io. But the FlowCharting plugin is not installed there.

https://snapshots.raintank.io/dashboard/snapshot/ZLOmG71njLeNIPLu7XQfK9SlGiP2SVNg?orgId=2
That's the data for 1.2.6v

Let me know if raintank will help you I will publish the broken chart with 1.4.1v

@misiek303
Copy link
Author

Can I help with anything to troubleshoot this issue?

@leeoniya
Copy link

@ryantxu is refering to a debug snapshot generated from the Panel > More > Get Help menu. these snapshots are self-contained and do not have a url. they can be attached to this issue. please see the video in link #145 (comment)

@misiek303
Copy link
Author

@misiek303
Copy link
Author

Thanks, @ryantxu is there anything else I can provide ?

@toddtreece
Copy link
Member

@misiek303 I believe this was caused by the change to wide time series to support alerting in #135. Adding the Prepare time series transformation and using the Long time series format seems to fix the issue for me in the panel options. Could you try adding that and let us know if that fixes your dashboard?

image

@ryantxu I wasn't able to get the flowchart viz to load with either of the attached examples, but it seems like it could be an issue with angular and/or the debug snapshot tool.

@misiek303
Copy link
Author

Indeed it fixes showing up all metrics in the drop-down of the FlowCharting plugin. But it breaks the string-type data.
There is info about strings: "String values are represented as separate fields rather than as labels", but I am not sure how it works.

Screenshot 2022-11-29 at 3 27 26 PM

No String values are shown

Screenshot 2022-11-29 at 3 28 03 PM

@toddtreece toddtreece self-assigned this Nov 29, 2022
@toddtreece
Copy link
Member

@misiek303 i see what's going on here. the transformation is expecting all queries to have at least one time column and one numeric column, but it seems like some of your queries are returning only time and string columns

@ryantxu any thoughts on how to mix the two types of queries since we can't target individual queries with transformations? i guess we could add an option to format the query in the editor?

@misiek303
Copy link
Author

Hi. Do you have any new updates?

@misiek303
Copy link
Author

Hi. Are you working on this issue? can I get an update?

@toddtreece
Copy link
Member

v1.5.1 includes a change to allow selection for Table and Time series formats, and defaults to the pre-1.4.x Table format. please let us know if you see issues after upgrading to 1.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants