diff --git a/script/3.5/schema/1.add_alarm_code.sql b/script/3.5/schema/1.add_alarm_code.sql index a32ccca..7a13015 100644 --- a/script/3.5/schema/1.add_alarm_code.sql +++ b/script/3.5/schema/1.add_alarm_code.sql @@ -2,8 +2,12 @@ DO $$ BEGIN +--运维中台告警不升级 +update "t_alarm_type" set upgrade_strategy='{"independent": true}' where code='3020'; +update "t_alarm_type" set upgrade_strategy='{"independent": true}' where code='3021'; +update "t_alarm_type" set upgrade_strategy='{"independent": true}' where code='3022'; -INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (47,'数据中断', 1); --group=1数据中断 +INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (47,'数据中断', 3); --group=1数据中断 INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (48,'数据异常趋势', 3); --group=3策略命中 INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (49,'数据毛刺', 3); --group=3策略命中