modify: aibox_sophon_adapter告警转发
This commit is contained in:
@@ -28,6 +28,14 @@ upload_root: str = "./data/uploads"
|
||||
# 告警保留配置
|
||||
alarm_max_records: int = 0 # 0 表示不限制
|
||||
|
||||
# 豆包 AI 分析开关
|
||||
doubao_analysis_enabled: bool = True
|
||||
|
||||
# 告警转发配置
|
||||
alarm_forward_enabled: bool = False
|
||||
alarm_forward_url: str = "http://dg.datagoo.cn:60014/open-api/event-alarm/receive"
|
||||
alarm_forward_timeout: float = 10.0
|
||||
|
||||
# 心跳超时配置(秒)
|
||||
heartbeat_timeout: float = 15.0
|
||||
|
||||
@@ -53,5 +61,9 @@ __all__ = [
|
||||
"mqtt_forward",
|
||||
"upload_root",
|
||||
"alarm_max_records",
|
||||
"doubao_analysis_enabled",
|
||||
"alarm_forward_enabled",
|
||||
"alarm_forward_url",
|
||||
"alarm_forward_timeout",
|
||||
"set_global_var",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user