admin管理员组文章数量:1356778
My goal is to make alert instacne with label status='start' keep silence. (because I don't want to get any notification alert about status='start' alarms... I only want to know die or oom alert,,,)
Is there any way to add annotation to label??
My custom annotation refer to query A.
Query A:
topk(1, last_over_time(
{container_name=~"docker-events-logger.*"}
| json
| Type = container
| status =~ die|oom|start
| unwrap timeNano [123s]
) by (Actor_Attributes_name, Actor_Attributes_image, host_name, host_ip, status)
) by (Actor_Attributes_name, Actor_Attributes_image, host_name, host_ip)
Annotation {{ $values.A.status }}
--> I want to add this annotation to label so as to filter alert instance by annotation!!!
(silecne only filter alert instance by label)
本文标签: Grafana alertAdd custom annotation to labelStack Overflow
版权声明:本文标题:Grafana alert, Add custom annotation to label - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743996767a2573131.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论