|
@@ -61,14 +61,14 @@ public class ChannelDemandMatchCheckJob {
|
|
|
|
|
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|
|
|
String alertMsg = String.format(
|
|
String alertMsg = String.format(
|
|
|
- "【渠道需求匹配告警】channel_demand_match_result 表当日(%s)暂无数据,请检查 channelDemandMatchJob 执行状态。", dt);
|
|
|
|
|
|
|
+ "【渠道需求匹配告警】channel_demand_match_result 表当日(%s)暂无数据,请检查 channelDemandMatchJob 执行状态。 <at user_id=\"g6732afb\">王云鹏</at>", dt);
|
|
|
FeishuMessageSender.sendWebHookMessage(FEISHU_ROBOT_ID, alertMsg);
|
|
FeishuMessageSender.sendWebHookMessage(FEISHU_ROBOT_ID, alertMsg);
|
|
|
- log.warn("channel_demand_match_result 表当日无数据,已发送飞书报警, dt={} ,<at user_id=\"g6732afb\">王云鹏</at>", dt);
|
|
|
|
|
|
|
+ log.warn("channel_demand_match_result 表当日无数据,已发送飞书报警, dt={}", dt);
|
|
|
} else if (count < 100000) {
|
|
} else if (count < 100000) {
|
|
|
String alertMsg = String.format(
|
|
String alertMsg = String.format(
|
|
|
- "【渠道需求匹配告警】channel_demand_match_result 表当日(%s)数据量不足,当前仅 %d 条(阈值 100000),请关注。", dt, count);
|
|
|
|
|
|
|
+ "【渠道需求匹配告警】channel_demand_match_result 表当日(%s)数据量不足,当前仅 %d 条(阈值 100000),请关注。 <at user_id=\"g6732afb\">王云鹏</at>", dt, count);
|
|
|
FeishuMessageSender.sendWebHookMessage(FEISHU_ROBOT_ID, alertMsg);
|
|
FeishuMessageSender.sendWebHookMessage(FEISHU_ROBOT_ID, alertMsg);
|
|
|
- log.warn("channel_demand_match_result 表当日数据量不足,已发送飞书报警, dt={}, count={} ,<at user_id=\"g6732afb\">王云鹏</at>", dt, count);
|
|
|
|
|
|
|
+ log.warn("channel_demand_match_result 表当日数据量不足,已发送飞书报警, dt={}, count={}", dt, count);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return ReturnT.SUCCESS;
|
|
return ReturnT.SUCCESS;
|