抑制示例
抑制示例
inhibit_rules:
- source_matchers: [ 'alertname="ClusterDown"' ]
target_matchers: [ 'severity=~"critical|warning"' ]
equal: [cluster]
- source_matchers: [ 'alertname="NodeDown"' ]
target_matchers: [ 'alertname="InstanceNotScraping"' ]
equal: [instance]equal 里未列的标签不做约束:漏写 cluster 会把其它集群的 target 一并压掉。