[alerter] 告警定义批量接口

This commit is contained in:
tomsun28
2021-12-12 10:32:40 +08:00
parent 8076787e07
commit 4586eba054
6 changed files with 107 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ public class CalculateAlarm {
}
// 查出此监控类型下的此指标集合下关联配置的告警定义信息
// field - define[]
Map<String, List<AlertDefine>> defineMap = alertDefineService.getAlertDefines(monitorId, app, metrics);
Map<String, List<AlertDefine>> defineMap = alertDefineService.getMonitorBindAlertDefines(monitorId, app, metrics);
if (defineMap == null || defineMap.isEmpty()) {
return;
}