+
+
+
+
+
+
diff --git a/nezha-fronted/src/components/common/language/cn.js b/nezha-fronted/src/components/common/language/cn.js
index f36cdf2ce..0c012a7b2 100644
--- a/nezha-fronted/src/components/common/language/cn.js
+++ b/nezha-fronted/src/components/common/language/cn.js
@@ -395,6 +395,7 @@ const cn = {
},
tip: {
confirmDelete: "确认删除吗?",
+ confirmOvertime: "确定要使这个超时?", //Are you sure you want to delete?
killTerm:'确认关闭 terminal 吗?',
confirmBatchDelete:'确定删除这{0}条数据吗?',
assetConfirmDelete: "关联的Endpoint和告警将会被删除,确认删除吗?",
@@ -914,6 +915,14 @@ const cn = {
affectEntity: "影响"
}
},
+ silence:{
+ silence:"告警静默",
+ create:'创建告警静默',
+ edit:'修改告警静默',
+ time:'时间',
+ matcher:'Matcher',
+ reason:'原因',
+ },
P1Rule:'P1: 万分紧急,可导致业务瘫痪的告警',
P2Rule:'P2: 急需处理,但不影响业务的告警',
P3Rule:'P3: 需要处理,但不紧急的告警',
diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js
index d15f0d162..4b07f523b 100644
--- a/nezha-fronted/src/components/common/language/en.js
+++ b/nezha-fronted/src/components/common/language/en.js
@@ -398,6 +398,7 @@ const en = {
},
tip: {
confirmDelete: "Are you sure you want to delete?", //Are you sure you want to delete?
+ confirmOvertime: "Are you sure you want this to time out?",
killTerm:'Are you sure you want to kill terminal?',
confirmBatchDelete:'Are you sure to delete these {0} pieces of data',
assetConfirmDelete: 'Related endpoints and alerts will be removed, are you sure you want to delete this asset?',//Related endpoints and alerts will be removed, are you sure you want to delete this asset?
@@ -919,6 +920,14 @@ const en = {
affectEntity: "Affect entity"
}
},
+ silence:{
+ silence:"Alert silence",
+ create:'New alert silence',
+ edit:'Edit alert silence',
+ time:'Time',
+ matcher:'Matcher',
+ reason:'Reason',
+ },
P1Rule:'P1: Critical, alarm that can cause business paralysis',
P2Rule:'P2: Major, alarm that do not affect the business',
P3Rule:'P3: Minor, alarm that need to deal with, but not urgent',
diff --git a/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue b/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue
new file mode 100644
index 000000000..024785636
--- /dev/null
+++ b/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue
@@ -0,0 +1,506 @@
+
+