feat: 告警相关功能提交

1.告警信息
2.告警规则配置
This commit is contained in:
chenjinsong
2019-12-06 17:36:33 +08:00
parent ecac31d327
commit e9478cdedd
9 changed files with 1126 additions and 22 deletions

View File

@@ -3,6 +3,7 @@ const en = {
overall:{
dashboard:'dashboard',
project:'project',
alarm: "alarm",
asset:'asset',
config:'config',
create: 'Create',
@@ -61,6 +62,40 @@ const en = {
editProm: "Edit Prometheus Server"
},
},
alarm: {
alarmList: "Alarm List",
alarmConfig: "Alarm Config",
alarmName: "Alarm Name",
severity: "Severity",
description: "Desc",
summary: "Summary",
startAt: "Time",
endAt: "End Time",
list: {
//表头
linkedId: "Linked ID",
type: "Type",
state: "Status",
charts: "Charts",
//表内容
projectAlarm: "Project Alarm",
moduleAlarm: "Module Alarm",
deviceAlarm: "Device Alarm",
pending: "Pending",
expired: "Expired"
},
config: {
name: "Name",
receiver: "Receiver",
expr: "Expr",
for: "For",
option: "Option",
alarmConfig: "Alarm Config",
createAlarmConfig: "Create Alarm Config",
editAlarmConfig: "Edit Alarm Config",
}
},
...enLocale
}