@rzzx
2017-06-27T01:39:10.000000Z
字数 2438
阅读 2924
App
| 板块 | 应用列表 图表标题 | chartId |
|---|---|---|
| APP概念 | 所在行业均值表 | mobile-application-minute-overview |
| 网络请求 | TOP5 响应时间最慢主机 | mobile-application-top-host-performance |
| 网络请求 | TOP5吞吐率最高主机 | mobile-application-top-host-throughput |
| 网络请求 | TOP5 响应时间最慢URL | mobile-application-top-host-uri-performance |
| 网络请求 | 平均吞吐率 | mobile-application-throughput |
| 网络请求 | HTTP错误率 / 网络错误率 | mobile-application-error |
| 网络请求 | HTTP响应分解图 | mobile-application-host-uri-performance |
| 网络请求 | 传输数据量 | mobile-application-host-uri-byte |
| 崩溃 | 崩溃数据汇总 | mobile-application-crash-percent |
| 交互分析 | TOP5 最慢应用交互性能 | mobile-application-top-interaction-performancer |
| 错误 | TOP5 主机网络错误率 | mobile-application-top-host-network-error |
| 错误 | TOP5 主机HTTP错误率 | mobile-application-top-host-http-error |
| 错误 | TOP5 HTTP错误类型图 | mobile-application-http-error |
| 错误 | TOP5 网络错误类型图 | mobile-application-network-error |
| 情报汇总 | 响应时间 | mobile-application-performance |
| 情报汇总 | HTTP错误率 / 网络错误率 | mobile-application-error-http/mobile-application-error-net |
| 板块 | 关键元素 图表标题 | chartId |
|---|---|---|
| 情报汇总 | HTTP响应分解图 | mobile-key-url-url-performance |
| 情报汇总 | 吞吐率 | mobile-key-url-throughput |
| 情报汇总 | 传输数据量 | mobile-key-url-url-byte |
| 情报汇总 | HTTP错误/网络错误率 | mobile-key-url-error |
| 错误 | TOP5 HTTP错误类型图 | mobile-key-url-http-error |
| 错误 | TOP5 网络错误类型图 | mobile-key-url-network-error |
| 交互分析 | TOP5 最慢应用交互性能 | mobile-application-top-interaction-performancer |
| 错误 | TOP5 主机网络错误率 | mobile-application-top-host-network-error |
| 错误 | TOP5 主机HTTP错误率 | mobile-application-top-host-http-error |
| 错误 | TOP5 网络错误类型图 | mobile-application-network-error |
调用说明:
URL
/highcharts-chart-data/LATEST/account/mobileApplications/charts/{chartId}.json
示例URL
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token从authlocal.tingyun.com:10886/auth/api/auth/login获取 |
| mobileAppId | true | string | 移动AppID |
| chartId | true | string | 图表ID,一开始定死 |
| timePeriod | true | string | 时间间隔 相差多少分钟 |
| eventCallback | true | string | eventCallback共有五个参数可选time(响应时间),crash(崩溃率),error(错误率),anr(卡顿率),flow(流量消耗) |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timeZone | false | String | 时区 |
响应数据
{"status":200,"data":{"chart":{"series":[{"name":"ios_test_sun","color":"#3598db","data":Array[3]},{"name":"Benchmark","color":"#01cdce","data":[{"x":1491321600000,"y":0.5},{"x":1493568000000,"y":0.5},{"x":1494172800000,"y":0.5}]}],"xAxis":[{"tickInterval":"MM-dd HH:mm","type":"datetime"}],"yAxis":[{"tickUnit":"ms"}]},"type":"line"}}