文档
测试

告警数据(上面五个)

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

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
success
boolean
示例:true
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
indexAlarm
object
上面第一块数据
必填
notRecovered
int
未恢复告警
必填
todayAlarm
int
今日告警
必填
untreated
int
未处理告警
必填
processing
int
处理中告警
必填
day
array
最近七天告警趋势---时间列表
必填
count
array
最近七天告警趋势---数量列表
必填
increase
int
比较昨日新增或减少告警数量
必填
indexPlatformServices
object
上面第二块数据
必填
notRecovered
int
平台服务未恢复告警
必填
todayAlarm
int
今日告警
必填
untreated
int
未处理告警
必填
processing
int
处理中告警
必填
day
array
最近七天告警趋势---时间列表
必填
count
array
最近七天告警趋势---数量列表
必填
increase
int
比较昨日新增或减少告警数量
必填
indexServer
object
上面第三块数据
必填
notRecovered
int
服务器未恢复告警
必填
todayAlarm
int
今日告警
必填
untreated
int
未处理告警
必填
processing
int
处理中告警
必填
day
array
最近七天告警趋势---时间列表
必填
count
array
最近七天告警趋势---数量列表
必填
increase
int
比较昨日新增或减少告警数量
必填
indexMiddleWare
object
上面第四块数据
必填
notRecovered
int
中间件未恢复告警
必填
todayAlarm
int
今日告警
必填
untreated
int
未处理告警
必填
processing
int
处理中告警
必填
day
array
最近七天告警趋势---时间列表
必填
count
array
最近七天告警趋势---数量列表
必填
increase
int
比较昨日新增或减少告警数量
必填
indexAlarmAveTime
object
上面第五块数据
必填
aveAlarm
string
告警平均恢复时间
必填
day
array
最近七天告警趋势---时间列表
必填
count
object
最近七天告警趋势---数量列表
必填
increase
object
比较昨日新增或减少告警数量
必填

说明 / 示例

响应: ```{ "code": 200, "success": true, "msg": "成功", "data": { "indexAlarm": { "notRecovered": 112, "todayAlarm": 6, "untreated": 103, "processing": 2, "day": [ "2023-03-09", "2023-03-08", "2023-03-07", "2023-03-06", "2023-03-05", "2023-03-04", "2023-03-03" ], "count": [ 6, 12, 12, 6, 0, 6, 19 ], "increase": -12 }, "indexServer": { "notRecovered": 10, "todayAlarm": 0, "untreated": 10, "processing": 10, "day": [ "2023-03-09", "2023-03-08", "2023-03-07", "2023-03-06", "2023-03-05", "2023-03-04", "2023-03-03" ], "count": [ 0, 0, 0, 0, 0, 0, 0 ], "increase": -18 }, "indexPlatformServices": { "notRecovered": 92, "todayAlarm": 0, "untreated": 92, "processing": 92, "day": [ "2023-03-09", "2023-03-08", "2023-03-07", "2023-03-06", "2023-03-05", "2023-03-04", "2023-03-03" ], "count": [ 6, 12, 12, 4, 0, 6, 19 ], "increase": -12 }, "indexMiddleWare": { "notRecovered": 9, "todayAlarm": 0, "untreated": 9, "processing": 9, "day": [ "2023-03-09", "2023-03-08", "2023-03-07", "2023-03-06", "2023-03-05", "2023-03-04", "2023-03-03" ], "count": [ 0, 0, 0, 0, 0, 0, 0 ], "increase": -18 }, "indexAlarmAveTime": { "aveAlarm": "0", "day": [ "2023-03-09", "2023-03-08", "2023-03-07", "2023-03-06", "2023-03-05", "2023-03-04", "2023-03-03" ], "count": [ 0, 0, 0, 0, 0, 0, 0 ], "increase": 0 } } } ```