文档
测试

服务器/中间件阈值列表

GET
http://localhost:9024/monitors/index/threshold/list?type=MIDDLEWARE

请求参数

参数名
类型
描述
必填
type
string
服务器:SREVER,中间件:MIDDLEWARE
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
success
boolean
示例:true
必填
msg
string
示例:成功
必填
data
array
数据列表
必填
id
int
主键
必填
name
string
中间件/服务器名称
必填
thresholdOne
int
第一个阈值
必填
thresholdTwo
int
第二个阈值
必填
thresholdThree
int
第三个阈值
必填
thresholdFour
int
第四个阈值
必填
thresholdOneSymbol
string
第一个阈值符号(< 或 > 或 <= 或 >=)
必填
thresholdTwoSymbol
string
第二个阈值符号(< 或 > 或 <= 或 >=)
必填
thresholdThreeSymbol
string
第三个阈值符号(< 或 > 或 <= 或 >=)
必填
thresholdFourSymbol
string
第四个阈值符号(< 或 > 或 <= 或 >=)
必填
relation
string
条件关系(and/or)
必填

说明 / 示例

``` { "code": 200, "success": true, "msg": "成功", "data": [ { "id": 16, "name": "Nacos", "thresholdOne": null, "thresholdTwo": null, "thresholdThree": null, "thresholdFour": null, "thresholdOneSymbol": null, "thresholdTwoSymbol": null, "thresholdThreeSymbol": null, "thresholdFourSymbol": null, "relation": null }, { "id": 17, "name": "Mysql", "thresholdOne": null, "thresholdTwo": null, "thresholdThree": null, "thresholdFour": null, "thresholdOneSymbol": null, "thresholdTwoSymbol": null, "thresholdThreeSymbol": null, "thresholdFourSymbol": null, "relation": null } ] } ``` 阈值或者阈值符号没有设置直接返回null