即时监测数据列表
方法:GET
https://network.tingyun.com/network-report-data/instant/data/instantList-json-authkey
请求参数
| 字段名 | 类型 | 必填 | 选项 | 描述 |
|---|---|---|---|---|
| authkey | String | 是 | -- | 授权码 |
| taskType | String | 否 | 固网监测:1$B,1$F,1$S,1$P,2,3,255 移动监测:102$B,102$F,102$S,102$P 固网监测-页面监测:1$B,1$F 固网监测-文件检测:1$S 固网监测-Ping监测:1$P 固网监测-事务监测:2 固网监测-流媒体监测:3 固网监测-私有协议:255 移动监测-页面监测:102$B,102$F 移动监测-文件检测:102$S 移动监测-Ping监测:102$P |
即时监测类型 |
| url | String | 否 | 多个任务URL之间以','间隔,URL的个数必须与任务名称的个数相同 | 检索的url内容 |
| pageSize | Int | 否 | -- | 每页数量 |
| pageNum | Int | 否 | -- | 页数 |
| timePeriod | String | 否 | 时间范围选择,默认不传是查询最近1个月,0:最近1小时,1:最近一天,2:最近3天,3:最近一周,4:最近2周,5:最近3周,6:最近1个月 | 时间范围 |
返回参数
| 字段名 | 类型 | 描述 |
|---|---|---|
| group_id | Long | 即时监测组ID |
| agreement_id | Int | 账号合同id |
| owner_id | Int | 用户id |
| task_id | Long | 任务id |
| name | String | 即时监测名称 |
| ctime | Date | 即时监测创建时间 |
| type | Int | 即时监测类型 |
| task_option | String | 即时监测选项 |
| url | String | 即时监测URL地址 |
| itotal | String | 即时监测记录数量 |
| instantTotal | Int | 全部即时监测记录数量 |
| returnedInstantNum | Int | 已返回数据的即时监测记录数量 |
| directFailed | Int | 直接失败的即时监测记录数量 |
| errorCount | Int | 错误的即时监测记录数量 |
| performance | Double | 性能(总下载时间) |
| availability | Double | 可用性 |
| ts_total | Double | 总下载时间 |
| ts_first_paInt | Double | 白屏时间 |
| ts_user | Double | 首屏时间 |
| ts_connect | Double | 建立连接时间 |
| first_buffer_time | Double | 首次缓冲时间 |
| second_buffer_time | Double | 再次缓冲时间 |
| ping_avg | Double | 延时 |
| ping_packet_lost | Double | 丢包率 |
| pings_stdev | Double | 抖动 |
| hop_number | Double | 平均跃点数 |
| timemout_count | Int | 正在监测或超时的点的个数 |
| failed_count | Int | 错误的点的个数 |
| all_count | Int | 所有的点个数 |
| succ_count | Int | 正确返回的点数 |
| status | Int | 状态码 |
| data | Object | 返回数据 |
| message | String | 错误信息 |
| error_code | Int | 错误码 |
| request | String | 请求路径 |
| time | Date | 请求时间 |
| total | Int | 总数 |
错误说明
| 字段说明 | 错误信息 |
|---|---|
| authkey | PermissionDeniedError |
返回示例
{
"total": 67,
"status": 200,
"data": [
{
"group_id": 19389,
"agreement_id": null,
"owner_id": 1759,
"task_id": 0,
"name": "testCase-create-2023-01-12T10:49:12.848",
"status": null,
"ctime": 1673491753000,
"type": 1,
"task_option": "NET",
"url": "http://[2001:470:c:1818::2]:8888",
"itotal": "1",
"refresh": false,
"summary": {
"instantTotal": 1,
"returnedInstantNum": 0,
"directFailed": 1,
"errorCount": 0,
"performance": 0,
"availability": 0,
"ts_total": 0,
"ts_first_paInt": 0,
"ts_user": 0,
"ts_connect": 0,
"first_buffer_time": 0,
"second_buffer_time": 0,
"ping_avg": 0,
"ping_packet_lost": 0,
"pings_stdev": 0,
"hop_number": 0,
"isb": {
"timemout_count": 0,
"failed_count": 1,
"all_count": 1,
"succ_count": 0,
"ctime": 1673491753000,
"status": 1
},
"customValues": null
},
"token": "65c316abcab60c79cc2427559d44f6b97576b964"
}
],
"error_code": 0,
"time": "2023-01-12 06:46:54"
}