feat(monitor): F6 日志告警引擎 — AlertEngine 支持 type=log 规则查询Loki/ES+触发/恢复 + 数据源认证升级(none/basic/bearer/custom) + 从查询创建告警真实API对接

This commit is contained in:
attacker committed 2026-06-28 04:00:38 +08:00
1 parent 894cb16a05
commit 6bba6144f3
17 files changed
+657 -74

No files matched your search

+2
View File
@@ -261,6 +261,7 @@ export interface AlertRuleInput {
source?: string;
expression?: string;
duration?: number;
datasource_id?: number;
}
export interface AlertContactInput {
@@ -411,6 +412,7 @@ export interface AlertRuleRecord {
type?: string;
source?: string;
expression?: string;
datasource_id?: number;
created_at?: string;
updated_at?: string;
}