文档
测试

告警等级分析

GET
http://localhost:9024/monitors/index/alarmLevel/list

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
success
boolean
示例:true
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
urgentTotal
int
紧急---总告警数量
必填
urgentNotRecovered
int
紧急---未恢复告警数量
必填
importantTotal
int
重要---总告警数量
必填
importantNotRecovered
int
重要---未恢复告警数量
必填
minorTotal
int
次要---总告警数量
必填
minorNotRecovered
int
次要--未恢复告警数量
必填
promptTotal
int
提示--总告警数量
必填
promptNotRecovered
int
提示--未恢复告警数量
必填
day
array
最近七天--时间列表
必填
urgentCount
array
最近七天--紧急告警数量列表
必填
importantCount
array
最近七天--重要告警数量列表
必填
minorCount
array
最近七天--次要告警数量列表
必填
promptCount
array
最近七天--提示告警数量列表
必填

说明 / 示例

响应: ```{ "code": 200, "success": true, "msg": "成功", "data": { "urgentTotal": 17, "urgentNotRecovered": 16, "importantTotal": 5, "importantNotRecovered": 5, "minorTotal": 6, "minorNotRecovered": 6, "promptTotal": 83, "promptNotRecovered": 83, "day": [ "2023-03-09", "2023-03-08", "2023-03-07", "2023-03-06", "2023-03-05", "2023-03-04", "2023-03-03" ], "urgentCount": [ 0, 0, 0, 0, 0, 0, 0 ], "importantCount": [ 0, 0, 0, 0, 0, 0, 0 ], "minorCount": [ 0, 0, 0, 0, 0, 0, 0 ], "promptCount": [ 6, 12, 12, 4, 0, 6, 19 ] } } ```