fix: nodata repeated recovery alerting

This commit is contained in:
710leo 2021-06-22 23:11:55 +08:00
parent 07961c9f21
commit 02f2554cc1
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ func getStrategy() {
continue
}
if stra.Exprs[0].Func == "nodata" {
continue
}
metric := stra.Exprs[0].Metric
for _, nid := range stra.Nids {
key := str.ToMD5(nid, metric, "") //TODO get straMap key 此处需要优化