Commit cc876e3d by fudahua

Merge branch 'feature-918' into developer

parents 66099c44 91c21af3
......@@ -134,6 +134,16 @@ public class CheckQywxSettingApiServiceImpl implements CheckQywxSettingApiServic
if (null == messageDTO) {
return;
}
if (messageDTO.getAlertType().equals(AlertTypeEnum.ES_BID_PAGE.getType())) {
Object limit = RedisUtil.getCache("es_bid_page_limit");
if (null != limit) {
Integer begin = Integer.valueOf(messageDTO.getContentMap().get("begin").toString());
if (begin.intValue() < Integer.valueOf(limit.toString())) {
logger.info("没到阈值,无需告警");
return;
}
}
}
//告警是否拦截重复告警 防止批量触发
if (StringUtils.isNotBlank(messageDTO.getKey())) {
String key = messageDTO.getKey() + messageDTO.getAlertType();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment