BrightGrafana / bright-tree-panel

Interactive Tree Panel for Grafana
https://grafana.com/grafana/plugins/equansdatahub-tree-panel
Apache License 2.0
5 stars 0 forks source link

plugin error #33

Open nieyuan1980 opened 1 month ago

nieyuan1980 commented 1 month ago

When I tried to change 'Click mode' to 'Set dashboard variable', the plugin reported an error. This makes me feel very confused. Excuse me, how can I solve it?

001

002

HajimeSuzuki846 commented 1 month ago

I encountered the same issue. The version of Grafana OSS I am using is 11.3.0

BrightGrafana commented 1 month ago

Thank you for your feedback, we will try to reproduce and investigate this issue and will come back with a solution.

krdosier commented 1 week ago

Same problem all version I have been able to test. Won't let me select the variable. Plugin presents the error without it defined.

Versions Tested

BrightGrafana commented 1 week ago

While we are still investigating this issue, we can provide a workaround. The error is caused by latest Grafana versions not handling frontend errors by default. Before changing the value in the dropdown from "Data link" to "Set dashboard variable", perform the following steps:

You can now use the edit screen as intended. While we are still fixing the issue, we hope this workaround will help you in the meantime.

krdosier commented 1 week ago

@BrightGrafana Thank very much for the prompt response with a functional workaround. I was able to use your recommended workaround to move forward using the plugin in Grafana OSS 11.2.2 Docker Ubuntu 24.04 and Grafana OSS 11.1.0 Windows.

For anyone who finds the work around helpful, please note that the recommended steps only worked for me, once I manually configured following options in the through the json inspector. In my test, using a dummy reference did not eliminate the errors. However, once I configured each of the following options using a valid variable reference and valid query data result references, the plugin began to function as expected.

Required Options:

image

@BrightGrafana Thank you again!

isaacsanders commented 2 days ago

I can only meaningfully change the plugin by manually editing the JSON model.