Feature: Support all macros in Variable query editor #289
brycefisher
started this conversation in
Ideas
Replies: 3 comments
-
Well defined, and a useful feature that other plugins support (ie: postgres). Moving this into the backlog. |
Beta Was this translation helpful? Give feedback.
0 replies
-
related to this #288 |
Beta Was this translation helpful? Give feedback.
0 replies
-
We can revamp the variable editor and re use the same than in dashboards like we do in other data sources. With that, macros should work out of the box. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
What is Working
When creating a Variable for a dashboard, the
$__from
and$__to
macros seem to expand into values from the timepicker as expected. Hooray! Example broken query showing expansion:What's Not Working
When trying to use these macros, the expected expansion does not occur:
$__timeFilter()
-->timestamp between (datetime(<from>) .. datetime(<to>))
$__timeFrom
-->datetime(<from>)
$__timeTo
-->datetime(<to>)
Examples:
$__timeFilter
$__timeFrom and $__timeTo
Requested Change
I'd love to see the queries written inside Variable section expand as they do for queries written inside Panels (spelled out succintly here: https://github.com/grafana/azure-data-explorer-datasource/releases/tag/v2.0.0)
Why this is a problem
Beta Was this translation helpful? Give feedback.
All reactions