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