[关闭]
@rzzx 2017-06-27T01:39:10.000000Z 字数 2438 阅读 2924

掌上听云客户端App API接口-chartId讲解(总表)

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

调用说明:

1.所在行业均值表 (mobile-application-minute-overview)

URL

/highcharts-chart-data/LATEST/account/mobileApplications/charts/{chartId}.json

示例URL

http://192.168.5.73:8081/tingyun-api-app/highcharts-chart-data/LATEST/account/mobileApplications/charts/mobile-application-minute-overview.json?_ty_auth_token=4tr37k2er2q8lwr20i7zv9qhtf2ebhvf&mobileAppId=3604&timePeriod=129600&eventCallback=time

请求参数

参数 必选 类型 说明
_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 时区

响应数据

  1. {
  2. "status":200,
  3. "data":{
  4. "chart":{
  5. "series":[
  6. {
  7. "name":"ios_test_sun",
  8. "color":"#3598db",
  9. "data":Array[3]
  10. },
  11. {
  12. "name":"Benchmark",
  13. "color":"#01cdce",
  14. "data":[
  15. {
  16. "x":1491321600000,
  17. "y":0.5
  18. },
  19. {
  20. "x":1493568000000,
  21. "y":0.5
  22. },
  23. {
  24. "x":1494172800000,
  25. "y":0.5
  26. }
  27. ]
  28. }
  29. ],
  30. "xAxis":[
  31. {
  32. "tickInterval":"MM-dd HH:mm",
  33. "type":"datetime"
  34. }
  35. ],
  36. "yAxis":[
  37. {
  38. "tickUnit":"ms"
  39. }
  40. ]
  41. },
  42. "type":"line"
  43. }
  44. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注