I need your help in setting prometheus alert with ability to insert list of specific labels inside annotation neither summary or description , below chunck of my alert config : groups:
metric1 is metric with multiple vectors and multiple values of labels , value of metric1 can be 0 or 1 , this alert is fired if one or more of metric1 vector equal to zero , my need is to get list of labels of metric "metric1" which value equal to zero inside alert annotation
-name: NodeMiss开发者_如何学Pythoniong rules: - alert: Node1 expr : (sum(metric1{})-count(metric1{}))!=0 annotations: description : "
精彩评论