Closed n-wbrown closed 3 years ago
This is not currently supported by grafana. Information about dashboard variables is not available to the backend query when scanning for alerting conditions.
Please see https://grafana.com/docs/grafana/latest/alerting/create-alerts/#conditions
I plan to revisit this in 90 days to see if support has been added.
Describe the bug Using Grafana's variables of the custom type causes the backend to fail queries.
To Reproduce Create a custom variable for a dsashboard Set up a query using a the variable in the PV with syntax like ${prefix} Create an alert using this query The alert fails because it cannot get data
Expected behavior Using Grafana variables should work with the backend querying system and match functionality with the frontend.
Desktop (please complete the following information):
Additional context Hey @sasaki77, I just found another issue in the backend. Would you mind assigning this one to me?