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

[Bug] Grafana Plugin - variables not accepted in SQL "Drop Down List" query editor #13960

Open
1 of 2 tasks
robshep opened this issue Oct 29, 2024 · 2 comments
Open
1 of 2 tasks

Comments

@robshep
Copy link

robshep commented Oct 29, 2024

Search before asking

  • I searched in the issues and found nothing similar.

Version

IoTDB v1.3.2 in docker on MacOS

Describe the bug and provide the minimal reproduce step

A variable for a device path has been created as per instructions.
This variable can be used successfully in the "SQL Full-Customized" query editor

As per the excellent documentation 1

Both SQL: Full Customized and SQL: Drop-down List input methods support the variable and template functions of grafana

However, trying to add the sensor path at the dropdown element shown as "$endpoint" below ...

[root] > [dropdown-sg] > "$endpoint"

... I get the following error:

$endpoint is illegal, unquoted node name can only consist of digits, characters and underscore, or start or end with wildcard

Note: I have tried $endpoint ${endpoint} and {{endpoint}} form of variable template syntax.

What did you expect to see?

Variable template syntax shown in path element instead of regular path component from dropdown

What did you see instead?

Error

Anything else?

I notice the source repo for the grafana plugin (iotdb-extras) does not have any issues tracked. I can re-submit there if required.

Are you willing to submit a PR?

  • I'm willing to submit a PR!
Copy link

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

@CloudWise-Lukemiao
Copy link
Contributor

hi,Currently, variable templates are not supported in the dropdown menu, but templates are supported in the input boxes of the dropdown categories

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