From b90e4f7d6f67006180337cd4afa607c926584ed6 Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Wed, 10 Jun 2020 11:10:43 +0800 Subject: [PATCH] =?UTF-8?q?perf:alertRule=20=E9=85=8D=E7=BD=AEunit=20opera?= =?UTF-8?q?tor=E7=AD=89=E5=AD=97=E6=AE=B5=E6=B7=BB=E5=8A=A0=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/alert/config.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nezha-fronted/src/components/page/alert/config.vue b/nezha-fronted/src/components/page/alert/config.vue index dc8fa067c..6cddc5539 100644 --- a/nezha-fronted/src/components/page/alert/config.vue +++ b/nezha-fronted/src/components/page/alert/config.vue @@ -177,11 +177,11 @@ type: '', linkObject: {id: '', name: ''}, linkId: '', - operator:'', + operator:'>', threshold:'', unit:2, expr: '', - last: '', + last: 60, severity: '', summary: '', description: '', @@ -414,8 +414,10 @@ alertName: '', linkObject: {id: '', name: ''}, expr: '', - last: '', - severity: '', + unit:2, + operator: '>', + last: 60, + severity: 'medium', summary: '', description: '', }