-
Notifications
You must be signed in to change notification settings - Fork 78
Macros do not work in alerts #361
Comments
I’m on the same boat as well! Looking for a solution or workaround. |
Hi @briantopping, |
Hi @ofir5300, thanks for looking at this. That is the correct error. |
@briantopping Fixed and merged to master. Note that if you are running our plugin locally on a Mac machine, you can use it starting now. Will be added to version 2.0.3 hopefully soon and then will be useful for everyone. |
That's great, thank you! I will pass along that a release is forthcoming. A lot of folks are eagerly awaiting. Thanks again for your efforts to resolve this!! |
Bug Report
Queries using
$__
macros that work fine in the UI fail to work as alerts.Expected Behavior
We have a query that uses
$__timeFilter(COLUMN)
to constrain a query from terabytes of data down to just the data that is important for the query. It works as expected. When we set an alert with bounds on this query, the query fails because the$__timeFilter()
is processed in the frontend (ie here), not the backend.Steps to Reproduce the Problem
Notes
If there is a workaround to this, would love to discover it. One is obviously to manually expand the macro in every query. It does seem that the alerting UI should at least warn that there are components of the selected query that will not work as an alert.
The text was updated successfully, but these errors were encountered: