"Template variables are not supported in alert queries" while setting up Alert

What I did was simply duplicate the query and remove all template vars (i.e. $somevar) from it, disable the query on the “eye” icon and use it for alerting only.

3 Likes