文档
测试

中间件状态

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

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
success
boolean
示例:true
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
indexMiddleWareState
array
中间件状态列表
必填
middleWareName
string
中间件名称
必填
state
boolean
中间件状态 true:正常 false:异常
必填
hourly
string
持续时间
必填
urgentAlarm
int
紧急告警个数
必填
importantAlarm
int
重要告警个数
必填
minorAlarm
int
次要告警个数
必填
promptAlarm
int
提示告警个数
必填
normalCount
int
正常数量
必填
exceptionCount
int
异常数量
必填

说明 / 示例

```{ "code": 200, "success": true, "msg": "成功", "data": { "indexMiddleWareState": [ { "middleWareName": "Nacos", "state": true, "hourly": "15h", "urgentAlarm": 0, "importantAlarm": 0, "minorAlarm": 0, "promptAlarm": 0 }, { "middleWareName": "Mysql", "state": true, "hourly": "15h", "urgentAlarm": 2, "importantAlarm": 0, "minorAlarm": 1, "promptAlarm": 35 }, { "middleWareName": "ElasticSearch", "state": true, "hourly": "15h", "urgentAlarm": 0, "importantAlarm": 0, "minorAlarm": 0, "promptAlarm": 0 } ], "normalCount": 3, "exceptionCount": 0 } } ```