[web-app] 告警配置列表信息展示
This commit is contained in:
17
web-app/src/app/pojo/AlertDefine.ts
Normal file
17
web-app/src/app/pojo/AlertDefine.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user