提交 5b0e24cd 编写于 作者: U Ulric Qin

code refactor

上级 78b2e549
......@@ -371,7 +371,7 @@ func (r *RuleEval) MakeNewEvent(from string, now int64, clusterName string, vect
logger.Debugf("event_enable_in_bg: rule_eval:%d", r.rule.Id)
continue
}
} else {
} else if strings.Contains(r.rule.PromQl, "target_up") {
// target 已经不存在了,可能是被删除了
continue
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册