-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Template variables are not supported in alert queries #9334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Template variables are not supported in alerting. its also a dupe of #6557 |
3Q |
Remove template variables, replace with wildcard or regex pattern |
where do i remove those template variables ? So i cannot tell the alert to use the host that is having that issue ? will i have to add every host on the panel in order to choose them for the alert ? |
It would be grate to add templates support in alerts. Otherwise the feature looks useless a bit. |
How about adding a way to provide the values of said variables? |
I updated the Grafana to 5.0 and after I can't use the alerting system. Its works wit 4.6, why can't use on 5.0?
|
Agreed with @tiagoreip and @DimitriyKh , the query has a template variable to make the dashboards and it defeats the purpose to not be able to reuse the query for alerting. @torkelo can you explain how we should be doing this with many graphs and many dashboards? |
It still doesn't make sense for me, if you are able to template your dashboard and make it easier to work and even to watch, why couldn't We create an alert based on this |
It would be grate to add templates support in alerts. Otherwise the feature looks useless a bit. |
+1 |
+1 will support in new version ? |
+1 |
13 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+5 |
+1 |
Why is this issue not locked as spam like #6557 ? These +1 s are getting us nowhere closer to the goal. |
Why do people keep asking for this and it keeps getting shut down? |
It's not shut down. This issue was closed because it is a duplicate of #6557 which kindly suggest adding variable support as a feature request. That issue is still open. It's only locked because people can't stop commenting meaningless +1 s to spam everyone in the same thread. I'd like to quote one of the comments from that issue, in case you don't understand why +1 messages are not welcomed:
|
+1 |
Is this feature is available in 7.0 version? |
Version 8.0.* has already been released and the problem is still not solved =( |
up, it's very annoying |
2022 is also not supported.:sob: |
2023 is also not supported.😭 |
我想给使用 Template 的 panel 添加 alert ,但是会出现 “Template variables are not supported in alert queries” 这个问题,有什么办法能解决吗 ?
The text was updated successfully, but these errors were encountered: