Ajax请求
Ajax列表
方法:POST
http://${域名}/browser-api/ajax/ajaxSqeList
返回参数
| 名称 |
类型 |
| » urlAlias |
string |
| » requestCount |
integer |
| » sumSlowCountCompare |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » responseTimeCompare |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » errorRatio |
string |
| » slowCountUvTotal |
integer |
| » errorCountUvTotal |
integer |
| » sumErrorCount |
integer |
| » uvTotal |
integer |
| » sumSlowCount |
integer |
| » params |
string |
| » uri |
string |
| » networkTime |
string |
| » responseTime75 |
integer |
| » slowNetworkRatio |
string |
| » callbackTime |
string |
| » slowTxRatio |
string |
| » applicationServerTime |
string |
| » slowRatio |
string |
| » host |
string |
| » errorRatioCompare |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
number |
| » browserApplicationId |
integer |
| » ajaxSendBytes |
integer |
请求示例
http://10.128.2.55:8080/browser-api/ajax/ajaxSqeList
返回示例
[
{
"urlAlias": "0.0.0.0:5555/*/*/index1",
"requestCount": 2232,
"sumSlowCountCompare": {
"format": "3867",
"label": "Ajax慢请求次数",
"unit": "次",
"value": 3867
},
"responseTimeCompare": {
"format": "4000",
"label": "Ajax响应时间",
"unit": "ms",
"value": 4000
},
"errorRatio": "100",
"slowCountUvTotal": 2232,
"errorCountUvTotal": 2232,
"sumErrorCount": 2232,
"uvTotal": 2232,
"sumSlowCount": 2232,
"params": "",
"uri": "/*/*/index1",
"networkTime": "4000",
"responseTime75": 4000,
"slowNetworkRatio": "100",
"callbackTime": "0",
"slowTxRatio": "0",
"applicationServerTime": "0",
"slowRatio": "100",
"host": "0.0.0.0:5555",
"errorRatioCompare": {
"format": "100",
"label": "Ajax错误率",
"unit": "%",
"value": 100
},
"browserApplicationId": 213,
"ajaxSendBytes": 0
}
]
搜索条件-错误码
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
errorCode |
返回参数
| 字段 |
类型 |
| requestCount |
Int |
| errorCodeName |
String |
| errorCode |
Int |
请求示例
http://${域名}/browser-api/adhoc/query?label=errorCode
返回示例
[
{
"requestCount": 2509,
"errorCodeName": "其他错误",
"errorCode": 990
},
{
"requestCount": 2494,
"errorCodeName": "连接超时",
"errorCode": 903
},
{
"requestCount": 2484,
"errorCodeName": "客户端已取消",
"errorCode": 905
},
{
"requestCount": 263,
"errorCodeName": "500",
"errorCode": 500
},
{
"requestCount": 239,
"errorCodeName": "506",
"errorCode": 506
},
{
"requestCount": 237,
"errorCodeName": "504",
"errorCode": 504
},
{
"requestCount": 220,
"errorCodeName": "404",
"errorCode": 404
}
]
搜索条件-域名
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
host |
返回参数
| 字段 |
类型 |
| requestCount |
Int |
| host |
String |
请求示例
http://${域名}/browser-api/adhoc/query?label=host
返回示例
[
{
"requestCount": 4460,
"host": "192.168.2.2"
},
{
"requestCount": 2234,
"host": "192.168.5.116:8089"
},
{
"requestCount": 2232,
"host": "0.0.0.0:5555"
},
{
"requestCount": 9,
"host": "crm-tencent.xiaoshouyiref.com"
}
]
搜索条件-URI
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
URI |
返回参数
| 字段 |
类型 |
| requestCount |
Int |
| uri |
String |
请求示例
http://${域名}/browser-api/adhoc/query?label=uri
返回示例
[
{
"requestCount": 4460,
"uri": "/busichangepls-ajax/a/yuanjie3"
},
{
"requestCount": 2234,
"uri": "/shop/list"
},
{
"requestCount": 2232,
"uri": "/*/*/index1"
},
{
"requestCount": 9,
"uri": "/embeded/core/i18n/all_zh-cn-ajax.json"
}
]
搜索条件-参数
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
params |
返回参数
| 字段 |
类型 |
| requestCount |
Int |
| params |
String |
请求示例
http://${域名}/browser-api/adhoc/query?label=params
返回示例
[
{
"requestCount": 4467,
"params": ""
}
{
"requestCount": 257,
"params": "serverName=cccfjcobusipls_balancelist---666&service=yyyypage/resmanm.ResSaleLogQuery&yuanje=0"
}
]
搜索条件-所属页面
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
pageUrl |
返回参数
| 字段 |
类型 |
| requestCount |
Int |
| pageUrl |
String |
请求示例
http://${域名}/browser-api/adhoc/query?label=pageUrl
返回示例
[
{
"requestCount": 2234,
"pageUrl": "http://192.168.4.4/ref?age=9"
}
{
"requestCount": 2230,
"pageUrl": "http://192.168.3.3/ref"
}
]
搜索条件-国家
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
country |
返回参数
| 字段 |
类型 |
| requestCount |
Int |
| countryName |
String |
| countryId |
Int |
请求示例
http://${域名}/browser-api/adhoc/query?label=country
返回示例
[
{
"requestCount": 8932,
"countryName": "中国",
"countryId": 48
},
{
"requestCount": 3,
"countryName": "未知",
"countryId": 0
}
]
搜索条件-运营商
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
carrier |
返回参数
| 字段 |
类型 |
| requestCount |
Int |
| carrierName |
String |
| carrierId |
Int |
请求示例
http://${域名}/browser-api/adhoc/query?label=carrier
返回示例
[
{
"requestCount": 8932,
"carrierName": "中国联通",
"carrierId": 16
},
{
"requestCount": 3,
"carrierName": "未知",
"carrierId": 0
}
]
搜索条件-调用事务
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
txName |
返回参数
| 字段 |
类型 |
| requestCount |
Int |
| txName |
String |
请求示例
http://${域名}/browser-api/adhoc/query?label=txName
返回示例
[
{
"requestCount": 2,
"txName": "Transaction/URI/shop/list-1"
}
{
"requestCount": 2,
"txName": "Transaction/URI/shop/list-12265"
}
]
环比-错误影响用户数
方法:GET
http://${域名}/browser-api/ajax/metricsRingRatio
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
errorCountUvTotal |
返回参数
| 名称 |
类型 |
| » code |
integer |
| » message |
string |
| » data |
[object] |
| »» metriceStr |
string |
| »» metriceValue |
integer |
| »» metriceLabel |
string |
| »» metriceUnit |
string |
| »» metriceFormat |
string |
| »» compareValue |
integer |
| »» compareFormat |
string |
| »» comparePercent |
number |
请求示例
http://${域名}/browser-api/ajax/metricsRingRatio?label=errorCountUvTotal
返回示例
{
"code": 200,
"message": "success",
"data": [
{
"metriceStr": "errorCountUvTotal",
"metriceValue": 8438,
"metriceLabel": "UV",
"metriceUnit": "个",
"metriceFormat": "8438",
"compareValue": 13161,
"compareFormat": "13161",
"comparePercent": -35.89
}
]
}
环比-慢请求影响用户数
方法:GET
http://${域名}/browser-api/ajax/metricsRingRatio
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
slowCountUvTotal |
返回参数
| 名称 |
类型 |
| » code |
integer |
| » message |
string |
| » data |
[object] |
| »» metriceStr |
string |
| »» metriceValue |
integer |
| »» metriceLabel |
string |
| »» metriceUnit |
string |
| »» metriceFormat |
string |
| »» compareValue |
integer |
| »» compareFormat |
string |
| »» comparePercent |
number |
请求示例
http://${域名}/browser-api/ajax/metricsRingRatio?label=slowCountUvTotal
返回示例
{
"code": 200,
"message": "success",
"data": [
{
"metriceStr": "slowCountUvTotal",
"metriceValue": 4464,
"metriceLabel": "UV",
"metriceUnit": "个",
"metriceFormat": "4464",
"compareValue": 6191,
"compareFormat": "6191",
"comparePercent": -27.9
}
]
}
环比-Ajax响应时间、慢请求占比、错误率
方法:GET
http://${域名}/browser-api/ajax/metricsRingRatio
返回参数
| 名称 |
类型 |
| » code |
integer |
| » message |
string |
| » data |
[object] |
| »» metriceStr |
string |
| »» metriceValue |
integer |
| »» metriceLabel |
string |
| »» metriceUnit |
string |
| »» metriceFormat |
string |
| »» compareValue |
integer |
| »» compareFormat |
string |
| »» comparePercent |
number |
请求示例
http://${域名}/browser-api/ajax/metricsRingRatio
返回示例
{
"code": 200,
"message": "success",
"data": [
{
"metriceStr": "responseTime75",
"metriceValue": 4974,
"metriceLabel": "Ajax响应时间",
"metriceUnit": "ms",
"metriceFormat": "4974",
"compareValue": 4000,
"compareFormat": "4000",
"comparePercent": 24.35
},
{
"metriceStr": "errorRatio",
"metriceValue": 94.52714045886962,
"metriceLabel": "Ajax错误率",
"metriceUnit": "%",
"metriceFormat": "94.53",
"compareValue": 94.65389369592089,
"compareFormat": "94.65",
"comparePercent": -0.13
},
{
"metriceStr": "slowRatio",
"metriceValue": 49.96082820369334,
"metriceLabel": "慢请求占比",
"metriceUnit": "%",
"metriceFormat": "49.96",
"compareValue": 47.83065512978986,
"compareFormat": "47.83",
"comparePercent": 4.45
}
]
}
Ajax响应时间趋势图
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
responseTime75 |
返回参数
| 名称 |
类型 |
| » series |
array[object] |
| »» data |
array[object] |
| »»» name |
string |
| »»» type |
string |
| »»» yAxis |
integer |
| »» zIndex |
integer |
| » yAxis |
array[object] |
| »» i18n |
string |
| »» oppsite |
boolen |
| »» tickUnit |
string |
请求示例
http://${域名}/browser-api/adhoc/query?label=responseTime75
返回示例
{
"series": [
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 5879
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 180
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 5879
},
{
"x": 1642557600000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 4000
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 8743
}
],
"title": "01-19 10:00--01-19 10:20"
},
"y": 4000
},
{
"x": 1642558800000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 242
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
}
],
"title": "01-19 10:20--01-19 10:40"
},
"y": 242
},
{
"x": 1642560000000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 1009
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 3
}
],
"title": "01-19 10:40--01-19 11:00"
},
"y": 1009
},
{
"x": 1642561200000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 242
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 3
}
],
"title": "01-19 11:00--01-19 11:20"
},
"y": 242
},
{
"x": 1642562400000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 242
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
}
],
"title": "01-19 11:20--01-19 11:40"
},
"y": 242
},
{
"x": 1642574400000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 242
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
}
],
"title": "01-19 14:40--01-19 15:00"
},
"y": 242
},
{
"x": 1642579200000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 242
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
}
],
"title": "01-19 16:00--01-19 16:20"
},
"y": 242
},
{
"x": 1642581600000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 242
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
}
],
"title": "01-19 16:40--01-19 17:00"
},
"y": 242
},
{
"x": 1642582800000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax响应时间",
"value": 37795
},
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
}
],
"title": "01-19 17:00--01-19 17:20"
},
"y": 37795
}
],
"name": "Ajax响应时间",
"type": "line",
"yAxis": 0,
"zIndex": 1
}
]
}
慢请求占比趋势图
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
slowRatio |
返回参数
| 名称 |
类型 |
| » series |
array[object] |
| »» data |
array[object] |
| »»» name |
string |
| »»» type |
string |
| »»» yAxis |
integer |
| »» zIndex |
integer |
| » yAxis |
array[object] |
| »» i18n |
string |
| »» oppsite |
boolen |
| »» tickUnit |
string |
请求示例
http://${域名}/browser-api/adhoc/query?label=slowRatio
返回示例
{
"series": [
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "次",
"title": "Ajax请求次数",
"value": 180
},
{
"unit": "次",
"title": "Ajax慢请求次数",
"value": 91
},
{
"unit": "%",
"title": "慢请求占比",
"value": 50.56
},
{
"unit": "%",
"title": "慢网络占比",
"value": 50.56
},
{
"unit": "%",
"title": "慢事务占比",
"value": 25
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 180
},
{
"x": 1642558800000,
"tooltip": {
"data": [
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
},
{
"unit": "次",
"title": "Ajax慢请求次数",
"value": 0
},
{
"unit": "%",
"title": "慢请求占比",
"value": 0
},
{
"unit": "%",
"title": "慢网络占比",
"value": 0
},
{
"unit": "%",
"title": "慢事务占比",
"value": 0
}
],
"title": "01-19 10:20--01-19 10:40"
},
"y": 1
},
{
"x": 1642560000000,
"tooltip": {
"data": [
{
"unit": "次",
"title": "Ajax请求次数",
"value": 3
},
{
"unit": "次",
"title": "Ajax慢请求次数",
"value": 0
},
{
"unit": "%",
"title": "慢请求占比",
"value": 0
},
{
"unit": "%",
"title": "慢网络占比",
"value": 0
},
{
"unit": "%",
"title": "慢事务占比",
"value": 0
}
],
"title": "01-19 10:40--01-19 11:00"
},
"y": 3
},
{
"x": 1642562400000,
"tooltip": {
"data": [
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
},
{
"unit": "次",
"title": "Ajax慢请求次数",
"value": 0
},
{
"unit": "%",
"title": "慢请求占比",
"value": 0
},
{
"unit": "%",
"title": "慢网络占比",
"value": 0
},
{
"unit": "%",
"title": "慢事务占比",
"value": 0
}
],
"title": "01-19 11:20--01-19 11:40"
},
"y": 1
},
{
"x": 1642582800000,
"tooltip": {
"data": [
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
},
{
"unit": "次",
"title": "Ajax慢请求次数",
"value": 1
},
{
"unit": "%",
"title": "慢请求占比",
"value": 100
},
{
"unit": "%",
"title": "慢网络占比",
"value": 100
},
{
"unit": "%",
"title": "慢事务占比",
"value": 100
}
],
"title": "01-19 17:00--01-19 17:20"
},
"y": 1
}
],
"name": "Ajax请求次数",
"type": "column",
"yAxis": 0,
"zIndex": 1
},
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "次",
"title": "Ajax请求次数",
"value": 180
},
{
"unit": "次",
"title": "Ajax慢请求次数",
"value": 91
},
{
"unit": "%",
"title": "慢请求占比",
"value": 50.56
},
{
"unit": "%",
"title": "慢网络占比",
"value": 50.56
},
{
"unit": "%",
"title": "慢事务占比",
"value": 25
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 91
},
{
"x": 1642574400000,
"tooltip": {
"data": [
{
"unit": "次",
"title": "Ajax请求次数",
"value": 1
},
{
"unit": "次",
"title": "Ajax慢请求次数",
"value": 0
},
{
"unit": "%",
"title": "慢请求占比",
"value": 0
},
{
"unit": "%",
"title": "慢网络占比",
"value": 0
},
{
"unit": "%",
"title": "慢事务占比",
"value": 0
}
],
"title": "01-19 14:40--01-19 15:00"
},
"y": 0
}
]
}
错误码趋势图
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
errorRatio |
返回参数
| 名称 |
类型 |
| » series |
array[object] |
| »» data |
array[object] |
| »»» name |
string |
| »»» params |
object |
| »»»» errorCode |
Integer |
| »»» type |
string |
| »»» yAxis |
integer |
| »» zIndex |
integer |
| » yAxis |
array[object] |
| »» oppsite |
boolen |
| »» tickUnit |
string |
请求示例
http://${域名}/browser-api/adhoc/query?label=errorRatio
慢请求影响用户数趋势图
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
slowCountUvTotal |
返回参数
| 名称 |
类型 |
| » series |
array[object] |
| »» data |
array[object] |
| »»» name |
string |
| »»» type |
string |
| »»» yAxis |
integer |
| »» zIndex |
integer |
| » yAxis |
array[object] |
| »» i18n |
string |
| »» oppsite |
boolen |
| »» tickUnit |
string |
请求示例
http://${域名}/browser-api/adhoc/query?label=slowCountUvTotal
返回示例
{
"series": [
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "个",
"title": "UV",
"value": 91
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 91
},
{
"x": 1642557600000,
"tooltip": {
"data": [
{
"unit": "个",
"title": "UV",
"value": 4372
}
],
"title": "01-19 10:00--01-19 10:20"
},
"y": 4372
},
{
"x": 1642582800000,
"tooltip": {
"data": [
{
"unit": "个",
"title": "UV",
"value": 1
}
],
"title": "01-19 17:00--01-19 17:20"
},
"y": 1
}
],
"name": "UV",
"type": "column",
"yAxis": 0,
"zIndex": 1
}
],
"yAxis": [
{
"i18n": "nb.message.unit.number.name",
"opposite": false,
"tickUnit": "个"
}
]
}
错误影响用户数趋势图
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
errorCountUvTotal |
返回参数
| 名称 |
类型 |
| » series |
array[object] |
| »» data |
array[object] |
| »»» name |
string |
| »»» type |
string |
| »»» yAxis |
integer |
| »» zIndex |
integer |
| » yAxis |
array[object] |
| »» i18n |
string |
| »» oppsite |
boolen |
| »» tickUnit |
string |
请求示例
http://${域名}/browser-api/adhoc/query?label=errorCountUvTotal
返回示例
{
"series": [
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "个",
"title": "UV",
"value": 169
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 169
},
{
"x": 1642560000000,
"tooltip": {
"data": [
{
"unit": "个",
"title": "UV",
"value": 2
}
],
"title": "01-19 10:40--01-19 11:00"
},
"y": 2
},
{
"x": 1642581600000,
"tooltip": {
"data": [
{
"unit": "个",
"title": "UV",
"value": 1
}
],
"title": "01-19 16:40--01-19 17:00"
},
"y": 1
},
{
"x": 1642582800000,
"tooltip": {
"data": [
{
"unit": "个",
"title": "UV",
"value": 1
}
],
"title": "01-19 17:00--01-19 17:20"
},
"y": 1
}
],
"name": "UV",
"type": "column",
"yAxis": 0,
"zIndex": 1
}
],
"yAxis": [
{
"i18n": "nb.message.unit.number.name",
"opposite": false,
"tickUnit": "个"
}
]
}
维度分析-地域
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
map |
返回参数
| 名称 |
类型 |
| » requestCount |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » responseTime75 |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » pageUrl |
string |
请求示例
http://${域名}/browser-api/adhoc/query?label=map
返回示例
{
"field": {
"id": "countryId",
"label": "countryName"
},
"data": [
{
"countryId": 48,
"countryName": "中国",
"responseTime75": {
"format": "4000",
"label": "Ajax响应时间",
"unit": "ms",
"value": 4000
}
},
{
"countryId": 0,
"countryName": "未知",
"responseTime75": {
"format": "1009",
"label": "Ajax响应时间",
"unit": "ms",
"value": 1009
}
}
]
}
维度分析-TOP5运营商
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
carrierId |
返回参数
| 名称 |
类型 |
| » requestCount |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » responseTime75 |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » carrierName |
string |
| » carrierId |
integer |
请求示例
http://${域名}/browser-api/adhoc/query?label=carrierId
返回示例
[
{
"requestCount": {
"format": "8932",
"label": "Ajax请求次数",
"unit": "次",
"value": 8932
},
"responseTime75": {
"format": "6049",
"label": "Ajax响应时间",
"unit": "ms",
"value": 6049
},
"carrierName": "中国联通",
"carrierId": 16
},
{
"requestCount": {
"format": "3",
"label": "Ajax请求次数",
"unit": "次",
"value": 3
},
"responseTime75": {
"format": "1009",
"label": "Ajax响应时间",
"unit": "ms",
"value": 1009
},
"carrierName": "未知",
"carrierId": 0
}
]
维度分析-TOP5错误码
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
errorCode |
返回参数
| 名称 |
类型 |
| » requestCount |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » errorCodeName |
string |
| » responseTime75 |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » errorCode |
integer |
请求示例
http://${域名}/browser-api/adhoc/query?label=errorCode
返回示例
[
{
"requestCount": {
"format": "239",
"label": "Ajax请求次数",
"unit": "次",
"value": 239
},
"errorCodeName": "506",
"responseTime75": {
"format": "75340",
"label": "Ajax响应时间",
"unit": "ms",
"value": 75340
},
"errorCode": 506
},
{
"requestCount": {
"format": "2509",
"label": "Ajax请求次数",
"unit": "次",
"value": 2509
},
"errorCodeName": "其他错误",
"responseTime75": {
"format": "4000",
"label": "Ajax响应时间",
"unit": "ms",
"value": 4000
},
"errorCode": 990
},
{
"requestCount": {
"format": "2484",
"label": "Ajax请求次数",
"unit": "次",
"value": 2484
},
"errorCodeName": "客户端已取消",
"responseTime75": {
"format": "1839",
"label": "Ajax响应时间",
"unit": "ms",
"value": 1839
},
"errorCode": 905
}
]
维度分析-TOP5所属页面
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
pageUrl |
返回参数
| 名称 |
类型 |
| » requestCount |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » responseTime75 |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » pageUrl |
string |
请求示例
http://${域名}/browser-api/adhoc/query?label=pageUrl
返回示例
[
{
"requestCount": {
"format": "2234",
"label": "Ajax请求次数",
"unit": "次",
"value": 2234
},
"responseTime75": {
"format": "76591",
"label": "Ajax响应时间",
"unit": "ms",
"value": 76591
},
"pageUrl": "http://192.168.4.4/ref?age=9"
},
{
"requestCount": {
"format": "2230",
"label": "Ajax请求次数",
"unit": "次",
"value": 2230
},
"responseTime75": {
"format": "1749",
"label": "Ajax响应时间",
"unit": "ms",
"value": 1749
},
"pageUrl": "http://192.168.3.3/ref"
},
{
"requestCount": {
"format": "3",
"label": "Ajax请求次数",
"unit": "次",
"value": 3
},
"responseTime75": {
"format": "1641",
"label": "Ajax响应时间",
"unit": "ms",
"value": 1641
},
"pageUrl": "http://192.168.3.4/ref?age=42194"
}
]
维度分析-TOP5调用事务
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
txName |
返回参数
| 名称 |
类型 |
| » requestCount |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » responseTime75 |
object |
| »» format |
string |
| »» label |
string |
| »» unit |
string |
| »» value |
integer |
| » txName |
string |
请求示例
http://${域名}/browser-api/adhoc/query?label=txName
返回示例
[
{
"requestCount": {
"format": "2",
"label": "Ajax请求次数",
"unit": "次",
"value": 2
},
"responseTime75": {
"format": "84415",
"label": "Ajax响应时间",
"unit": "ms",
"value": 84415
},
"txName": "Transaction/URI/shop/list-12265"
},
{
"requestCount": {
"format": "2",
"label": "Ajax请求次数",
"unit": "次",
"value": 2
},
"responseTime75": {
"format": "74502",
"label": "Ajax响应时间",
"unit": "ms",
"value": 74502
},
"txName": "Transaction/URI/shop/list-16964"
},
{
"requestCount": {
"format": "2",
"label": "Ajax请求次数",
"unit": "次",
"value": 2
},
"responseTime75": {
"format": "1009",
"label": "Ajax响应时间",
"unit": "ms",
"value": 1009
},
"txName": "Transaction/URI/shop/list-1"
}
]
用户追踪列表
方法:GET
http://${域名}/browser-api/adhoc/query
请求参数
| 名称 |
类型 |
必选 |
示例值 |
| label |
string |
是 |
trace |
返回参数
| 名称 |
类型 |
| regionName |
string |
| txId |
string |
| errorCode |
Integer |
| apmsStr |
string |
| deviceId |
string |
| transmission |
string |
| carrierName |
string |
| globalScopeStr |
string |
| httpCode |
Integer |
| txName |
string |
| timestamp |
Integer |
| traceId |
string |
| responseTime |
string |
| sessionId |
string |
| userId |
string |
| url |
string |
| regionId |
Integer |
| applicationServerTime |
string |
| clientIp |
string |
| localScopeStr |
string |
| pageUrl |
string |
| reqDetailStr |
string |
| applicationId |
Integer |
| carrierId |
Integer |
请求示例
http://${域名}/browser-api/adhoc/query?label=trace
返回示例
[
{
"regionName": "广东",
"txId": "",
"errorCode": 500,
"apmsStr": "{"neo-sre-cat":"55c2c38c2d6647fbb414dc152794cf98"}",
"deviceId": "14c3b05960ae4347afaa581033a44c22",
"networkTime": "242",
"transmission": "4.299",
"carrierName": "中国联通",
"globalScopeStr": "{"contexts":{"fangfa1":{"name":"yuanjie2","version":"10"},"fangfa2":{"name":"yuanjie2","version":"10"}}}",
"httpCode": 500,
"txName": "",
"timestamp": 1642582386000,
"traceId": "1642582387256387795",
"responseTime": "242",
"sessionId": "fa813ea159ae4b2bbfeb9a602662346a",
"userId": "tid=2059258638471500,uid=2059262571381379",
"url": "https://crm-tencent.xiaoshouyiref.com/embeded/core/i18n/all_zh-cn-ajax.json?serverName=cccfjcobusipls_balancelist---666&service=yyyypage/resmanm.ResSaleLogQuery&yuanje=51",
"regionId": 4844,
"applicationServerTime": "0",
"clientIp": "27.40.20.200",
"localScopeStr": "{"contexts":{"send":{"ok":1}}}",
"pageUrl": "https://crm-tencent.xiaoshouyiref.com/search-ref.action?parentTabName=crm&keyword=4562",
"reqDetailStr": "{"query_params":"urlyuanjie","request_headers":{"content-type":"application/json","X-Tingyun":"c=B|HZgYeZhiQrA;x=177e79a4b8f84a49","custom-header":"c0e2089ae2ee4c20968fbe124d8cefd7"},"request_body":"{ "delay": 200 }","response_headers":{"content-type":"application/json","x-tingyun-data":"{"duration":208,"isError":0,"tname":"Transaction/SpringController/shop/list","id":"xjgVTU7l8fA#j_rEMfNuZLE","rid":"b8fa65fa95642d9f","tid":"b8fa65fa95642d9f"}"},"response_body":"{"code":200,"message":"成功","data":[{"id":1,"name":"朝阳区","lon":116.43,"lat":39.92},{"id":2,"name":"宣武区","lon":116.35,"lat":39.87},{"id":3,"name":"东城区","lon":116.42,"lat":39.93},{"id":4,"name":"丰台区","lon":116.28,"lat":39.85},{"id":5,"name":"房山区","lon":116.13,"lat":39.75},{"id":6,"name":"海淀区","lon":116.3,"lat":39.95}]}"}",
"applicationId": 0,
"carrierId": 16
}
]