Browse Source

运维中台的 策略告警不升级

dev
lucas2 1 year ago
parent
commit
23a26d311b
  1. 4
      script/3.5/schema/1.add_alarm_code.sql

4
script/3.5/schema/1.add_alarm_code.sql

@ -2,6 +2,10 @@ 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,'数据中断', 3); --group=1
INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (48,'数据异常趋势', 3); --group=3

Loading…
Cancel
Save