|
|
@ -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策略命中 |
|
|
|
|
|
|
|