Browse Source

feat:添加告警脚本

zhaohaipeng 9 months ago
parent
commit
96848c930f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/python/utils_monitor.py

+ 2 - 2
src/main/python/utils_monitor.py

@@ -25,8 +25,8 @@ def send_msg_to_feishu(webhook, key_word, msg_text):
 def _monitor(dt, hh, msg):
     """rov模型预测列表"""
     if hh > 6:
-        msg_text = f"\n- 所属项目: rov-offline" \
-                   f"\n- 告警名称: 离线更新数据不符合预期" \
+        msg_text = f"\n- 任务名称: 广告数据模型自动更新任务" \
+                   f"\n- 告警名称: 广告数据模型自动更新" \
                    f"\n- 所属环境: 线上" \
                    f"\n- now_date: {dt}" \
                    f"\n- now_h: {hh}" \