@rzzx
2017-07-25T03:14:54.000000Z
字数 2078
阅读 1568
列表项
App
文档中主机名需要参考以下配置:
内网:http://reportlocal.tingyun.com
外网:https://report.tingyun.com
崩溃:
平均值,行业均值,找到Bug,崩溃发生,影响用户,修复问题
响应时间(情报汇总的响应时间):
平均值,行业均值,吞吐率,总访问量
HTTP错误率(情报汇总的HTTP错误率 / 网络错误率):
平均值,行业均值,HTTP错误数,总访问量
网络错误率(情报汇总的HTTP错误率 / 网络错误):
平均值,行业均值,网络错误数,总访问量
URL
/mobileApplication/selectFilter/allReportData
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token从authlocal.tingyun.com:10886/auth/api/auth/login获取 |
| mobileAppId | true | string | 移动AppID |
| timePeriod | true | string | 时间间隔 相差多少分钟 |
| endTime | true | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| mobileAppVersionFilterId | false | string | 版本号 |
| timeZone | false | String | 时区 |
备注:endTime、timePeriod一定要与图表的相一致
响应数据
{"status":200,"data":{"net":{"industryMean":0,//行业均值"meanValue":0,//平均值"allCount":7614820,//总访问量"netError":0//net错误数},"http":{//HTTP错误率"industryMean":0,"meanValue":0,"allCount":14,"httpCount":0//HTTP错误数},"response":{//响应时间"industryMean":592.2307692307693,"meanValue":0,"allCount":14,"throughput":426.7142857142857//吞吐率},"crash":{"userCount":2,//影响用户"industryMean":0.9615384615384616,"meanValue":367,//平均值"fixedCount":0,//修复问题"crashCount":0,//崩溃发生"findBugCount":0//找到Bug}}}备注:industryMean、throughput的除数为0时,其值为null
URL
/mobileApplication/selectFilter/allReportDataV2
实例URL
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token从authlocal.tingyun.com:10886/auth/api/auth/login获取 |
| mobileAppId | true | string | 移动AppID |
| timePeriod | true | string | 时间间隔 相差多少分钟 |
| endTime | true | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| mobileAppVersionFilterId | false | string | 版本号 |
| timeZone | false | String | 时区 |
备注:endTime、timePeriod一定要与图表的相一致
响应数据
{"status":200,"data":{"response":{"meanValue":1.72832836,"allCount":638350,"throughput":4.92554012345679},"error":{"meanValue":4.77,"allCount":638350,"netError":30426,"httpCount":22980},"flowConsumer":{"totalTransfer":null,"totalCount":0,"meanValue":null},"anr":{"userCount":0,"meanValue":null,"anrTotal":0},"crash":{"userCount":0,"meanValue":0,"fixedCount":0,"crashCount":0,"findBugCount":0}}}