Skip to content

怎么给业务组下特定的机器设置不同的告警阈值 #1205

Answered by UlricQin
czxin788 asked this question in Q&A
Discussion options

You must be logged in to vote

给不同的机器打不同的标签,在promql里写过滤规则,比如:

cpu_usage{ident=~"host1|host2"} > 75
cpu_usage{ident!~"host1|host2"} > 90

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by czxin788
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants