You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
I am trying to use a $table variable (textbox type) to specify the table name using the Azure Data Explorer data source. For example:
$table
| where $__timeFilter(timestamp)
| where name == 'simkit_time_elapsed_ticks_total'
This works fine in terms of executing the query, but the query validation logic seems to freak out and think none of the columns are valid anymore (it is perhaps not resolving the variable?):
The query itself works fine when executed, only the validation messages are broken:
What you expected to happen:
Everything should work fine, as long as my variable has a value that is a legitimate table name.
How to reproduce it (as minimally and precisely as possible):
Take a working Azure Data Explorer query and replace the table name with a variable (e.g. plain textbox for manual input).
Anything else we need to know?:
Environment:
Grafana version: 9.3.2.2 (67a213dc85)
Data source type & version: Azure Data Explorer 4.2.0
Hi @sandersaares - I can replicate this issue, thanks for bringing it to our attention. Currently, this is the expected behavior (due to when the template variable is interpolated) but we are going to be having a discussion on how we can handle this better.
What happened:
I am trying to use a
$table
variable (textbox type) to specify the table name using the Azure Data Explorer data source. For example:This works fine in terms of executing the query, but the query validation logic seems to freak out and think none of the columns are valid anymore (it is perhaps not resolving the variable?):
The query itself works fine when executed, only the validation messages are broken:
What you expected to happen:
Everything should work fine, as long as my variable has a value that is a legitimate table name.
How to reproduce it (as minimally and precisely as possible):
Take a working Azure Data Explorer query and replace the table name with a variable (e.g. plain textbox for manual input).
Anything else we need to know?:
Environment:
Panel debug snapshot dashboard
The text was updated successfully, but these errors were encountered: