From 23a26d311b3ea08e6358f9278385fa2ddebba7ed Mon Sep 17 00:00:00 2001 From: lucas2 Date: Wed, 15 Nov 2023 10:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E7=BB=B4=E4=B8=AD=E5=8F=B0=E7=9A=84?= =?UTF-8?q?=20=E7=AD=96=E7=95=A5=E5=91=8A=E8=AD=A6=E4=B8=8D=E5=8D=87?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/3.5/schema/1.add_alarm_code.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/3.5/schema/1.add_alarm_code.sql b/script/3.5/schema/1.add_alarm_code.sql index 52388a1..7a13015 100644 --- a/script/3.5/schema/1.add_alarm_code.sql +++ b/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策略命中