获取监控服务接口信息
1.示例:
请求URL:http://localhost:9999/wgcloud/heathMonitor/agentList 请求方式:POST 请求参数(Content-Type:application/json): { "wgToken":"65d05df102851c6535322e73b2f99c06" } 返回结果: [ { "createTime":1607403400000, "appName":"baidu", "heathStatus":"200", "active":"1", "id":"40e063ce4af44d6b95c5877c92cedd4b", "heathUrl":"http://www.baidu.com", "resTimes":0 }, { "createTime":1607403400000, "appName":"wgstart", "heathStatus":"500", "active":"1", "id":"6637ee3511c64befb8b5824885d12cee", "heathUrl":"http://www.wgstart.com", "resTimes":20000 } ]
2.参数说明:
请求参数(Content-Type:application/json): { "wgToken":"必填,server/config/application.yml里的wgToken配置项的md5加密字符串,小写" } 返回结果: [ { "createTime":"添加时间,毫秒", "appName":"接口名称", "heathStatus":"当前状态码", "active":"监控状态,1监控中,2已停止", "id":"40e063ce4af44d6b95c5877c92cedd4b", "heathUrl":"接口url", "resTimes":"响应时间,毫秒" } ]