Browse Source

feat:添加特征Spark任务告警

zhaohaipeng 11 months ago
parent
commit
b066344105
1 changed files with 1 additions and 1 deletions
  1. 1 1
      feature_spark_monitor.py

+ 1 - 1
feature_spark_monitor.py

@@ -150,7 +150,7 @@ def send_error_info(table_name: str, latest_started_time: str, webhook: str):
 def _main():
     # 读取配置文件
     config = configparser.ConfigParser()
-    config.read("./config/config.ini")
+    config.read("/home/monitor/model_monitor/config/config.ini")
     webhook_url = config.get("feishu", "model.webhook")
 
     # 获取最近七小时的Spark任务