[web-app] 告警配置列表信息展示

This commit is contained in:
tomsun28
2021-12-12 10:33:27 +08:00
parent cb08054d30
commit f34d7d0370
18 changed files with 522 additions and 16 deletions

View File

@@ -0,0 +1,17 @@
export class AlertDefine {
id!: number;
app!: string;
metric!: string;
field!: string;
preset!: boolean;
expr!: string;
// 告警级别 0:高-emergency-紧急告警-红色 1:中-critical-严重告警-橙色 2:低-warning-警告告警-黄色
priority!: number;
duration!: number;
enable!: boolean;
template!: string;
creator!: string;
modifier!: string;
gmtCreate!: number;
gmtUpdate!: number;
}