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

Database results do not show up in sequence diagram after upgrade to 8.x #239

Open
adwaitsathe opened this issue Dec 13, 2022 · 1 comment

Comments

@adwaitsathe
Copy link

adwaitsathe commented Dec 13, 2022

Upgraded grafana to 8.5.15. Plugin version v1.7.3
The database fields are not mapped to definition in mermaid. The panel is used to draw sequence diagram with fields mapped to real time data. It used to work in 7.x release. The legend does not display any results. The MySQL quarries however do return data. Is anyone running into similar issue?
With Grafana 7.x
image

With Grafana 8.5.15.
image

Sample query used:

SELECT
time_finish AS "time",
gets1to4MB AS "Client Wait Time"
FROM client_waitLatBinStats
WHERE
$__timeFilter(time_finish)
ORDER BY time_finish

The formatting and color schemes are also lost but thats a minor issue.

@rekha86sundararajan
Copy link

Refer to changes in updateDiagramStyle.ts (functions: styleSequenceDiagramEdgeLabel and selectTextElementContainingAlias) part of #244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants