@rzzx
2017-04-21T06:57:36.000000Z
字数 980
阅读 857
Server
文档中主机名需要参考以下配置:
URL
/application/instancents
示例URL
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token从authlocal.tingyun.com:10886/auth/api/auth/login获取 |
| applicationId | true | string | 移动AppID |
| timePeriod | true | string | 时间间隔 相差多少分钟 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
响应数据
/*成功响应*/{"status":200,"data":[ {"id" : 2880,//实例id"apdex" : "0.9573","apdex_t" : 500.0,"response_time" : "123.2143","throughout" : "14.4667","error_rate" : "0.0023","cpu_usage" : "0.3793","memory" : "710.9109","vm_id" : 402,"name" : "ali2-ty-k8s-master-101.ali.tingyun.com",//实例名域名"port" : 41003,//实例名端口"language" : "JAVA","applicationName" : "127070","dispatcher" : "Apache Tomcat","dispatcherVersion" : "6.0.45","goVersion" : null},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}