Ajax request
Ajax list
Method: POST
http://${domain name}/browser-api/ajax/ajaxSqeList
Return parameter
Name | Type |
---|---|
» 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 |
An example of a request
http://10.128.2.55:8080/browser-api/ajax/ajaxSqeList
Returns an example
[
{
"urlAlias": "0.0.0.0:5555/*/*/index1",
"requestCount": 2232,
"sumSlowCountCompare": {
"format": "3867",
"label": "Number of Ajax slow requests",
"unit": "times",
"value": 3867
},
"responseTimeCompare": {
"format": "4000",
"label": "Ajax response time",
"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 error rate",
"unit": "%",
"value": 100
},
"browserApplicationId": 213,
"ajaxSendBytes": 0
}
]
Search Criteria-Error Code
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | errorCode |
Return parameter
Field | Type |
---|---|
requestCount | Int |
errorCodeName | String |
errorCode | Int |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=errorCode
Returns an example
[
{
"requestCount": 2509,
"errorCodeName": "Other errors",
"errorCode": 990
},
{
"requestCount": 2494,
"errorCodeName": "Connection timeout",
"errorCode": 903
},
{
"requestCount": 2484,
"errorCodeName": "Client canceled",
"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
}
]
Search Criteria-Domain Name
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Example value |
---|---|---|---|
label | string | yes | host |
Return parameter
Field | Type |
---|---|
requestCount | Int |
host | String |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=host
Returns an example
[
{
"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"
}
]
Search Criteria-URI
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Example value |
---|---|---|---|
label | string | yes | URI |
Return parameter
Field | Type |
---|---|
requestCount | Int |
uri | String |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=uri
Returns an example
[
{
"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"
}
]
Search Criteria-Parameter
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Example value |
---|---|---|---|
label | string | yes | params |
Return parameter
Field | Type |
---|---|
requestCount | Int |
params | String |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=params
Returns an example
[
{
"requestCount": 4467,
"params": ""
}
{
"requestCount": 257,
"params": "serverName=cccfjcobusipls_balancelist---666&service=yyyypage/resmanm.ResSaleLogQuery&yuanje=0"
}
]
Search Criteria-Owning Part
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample value |
---|---|---|---|
label | string | yes | pageUrl |
Return parameter
Field | Type |
---|---|
requestCount | Int |
pageUrl | String |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=pageUrl
Returns an example
[
{
"requestCount": 2234,
"pageUrl": "http://192.168.4.4/ref?age=9"
}
{
"requestCount": 2230,
"pageUrl": "http://192.168.3.3/ref"
}
]
Search Criteria-Country
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample value |
---|---|---|---|
label | string | yes | country |
Return parameter
Field | Type |
---|---|
requestCount | Int |
countryName | String |
countryId | Int |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=country
Returns an example
[
{
"requestCount": 8932,
"countryName": "China",
"countryId": 48
},
{
"requestCount": 3,
"countryName": "Unknown",
"countryId": 0
}
]
Search Criteria-Carrier
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Example value |
---|---|---|---|
label | string | yes | carrier |
Return parameter
Field | Type |
---|---|
requestCount | Int |
carrierName | String |
carrierId | Int |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=carrier
Returns an example
[
{
"requestCount": 8932,
"carrierName": "China Unicom",
"carrierId": 16
},
{
"requestCount": 3,
"carrierName": "Unknown",
"carrierId": 0
}
]
Search Criteria-Invoke Transaction
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Example value |
---|---|---|---|
label | string | yes | txName |
Return parameter
Field | Type |
---|---|
requestCount | Int |
txName | String |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=txName
Returns an example
[
{
"requestCount": 2,
"txName": "Transaction/URI/shop/list-1"
}
{
"requestCount": 2,
"txName": "Transaction/URI/shop/list-12265"
}
]
Relative-Number of users affected by the error
Method: GET
http://${domain name}/browser-api/ajax/metricsRingRatio
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | errorCountUvTotal |
Return parameter
Name | Type |
---|---|
» code | integer |
» message | string |
» data | [object] |
»» metriceStr | string |
»» metriceValue | integer |
»» metriceLabel | string |
»» metriceUnit | string |
»» metriceFormat | string |
»» compareValue | integer |
»» compareFormat | string |
»» comparePercent | number |
An example of a request
http://${domain name}/browser-api/ajax/metricsRingRatio?label=errorCountUvTotal
Returns an example
{
"code": 200,
"message": "success",
"data": [
{
"metricStr": "errorCountUvTotal",
"metricValue": 8438,
"metricLabel": "UV",
"metricUnit": "a",
"metricFormat": "8438",
"compareValue": 13161,
"compareFormat": "13161",
"comparePercent": -35.89
}
]
}
Relative-Number of users affected by slow request
Method: GET
http://${domain name}/browser-api/ajax/metricsRingRatio
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | slowCountUvTotal |
Return parameter
Name | Type |
---|---|
» code | integer |
» message | string |
» data | [object] |
»» metriceStr | string |
»» metriceValue | integer |
»» metriceLabel | string |
»» metriceUnit | string |
»» metriceFormat | string |
»» compareValue | integer |
»» compareFormat | string |
»» comparePercent | number |
An example of a request
http://${domain name}/browser-api/ajax/metricsRingRatio?label=slowCountUvTotal
Returns an example
{
"code": 200,
"message": "success",
"data": [
{
"metriceStr": "slowCountUvTotal",
"metricValue": 4464,
"metricLabel": "UV",
"metricUnit": "a",
"metricFormat": "4464",
"compareValue": 6191,
"compareFormat": "6191",
"comparePercent": -27.9
}
]
}
Link ratio-Ajax response time, percentage of slow requests, error ratio
Method: GET
http://${domain name}/browser-api/ajax/metricsRingRatio
Return parameter
Name | Type |
---|---|
» code | integer |
» message | string |
» data | [object] |
»» metriceStr | string |
»» metriceValue | integer |
»» metriceLabel | string |
»» metriceUnit | string |
»» metriceFormat | string |
»» compareValue | integer |
»» compareFormat | string |
»» comparePercent | number |
An example of a request
http://${domain name}/browser-api/ajax/metricsRingRatio
Returns an example
{
"code": 200,
"message": "success",
"data": [
{
"metricStr": "responseTime75",
"metricValue": 4974,
"metriceLabel": "Ajax response time",
"metricUnit": "ms",
"metricFormat": "4974",
"compareValue": 4000,
"compareFormat": "4000",
"comparePercent": 24.35
},
{
"metricStr": "errorRatio",
"metricValue": 94.52714045886962,
"metriceLabel": "Ajax error rate",
"metricUnit": "%",
"metricFormat": "94.53",
"compareValue": 94.65389369592089,
"compareFormat": "94.65",
"comparePercent": -0.13
},
{
"metricStr": "slowRatio",
"metricValue": 49.96082820369334,
"metriceLabel": "Proportion of slow requests",
"metricUnit": "%",
"metricFormat": "49.96",
"compareValue": 47.83065512978986,
"compareFormat": "47.83",
"comparePercent": 4.45
}
]
}
Ajax Response Time Trend Chart
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | responseTime75 |
Return parameter
Name | Type |
---|---|
» series | array[object] |
»» data | array[object] |
»»» name | string |
»»» type | string |
»»» yAxis | integer |
»» zIndex | integer |
» yAxis | array[object] |
»» i18n | string |
»» oppsite | boolen |
»» tickUnit | string |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=responseTime75
Returns an example
{
"series": [
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 5879
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 180
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 5879
},
{
"x": 1642557600000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 4000
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 8743
}
],
"title": "01-19 10:00--01-19 10:20"
},
"y": 4000
},
{
"x": 1642558800000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 242
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
}
],
"title": "01-19 10:20--01-19 10:40"
},
"y": 242
},
{
"x": 1642560000000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 1009
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 3
}
],
"title": "01-19 10:40--01-19 11:00"
},
"y": 1009
},
{
"x": 1642561200000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 242
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 3
}
],
"title": "01-19 11:00--01-19 11:20"
},
"y": 242
},
{
"x": 1642562400000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 242
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
}
],
"title": "01-19 11:20--01-19 11:40"
},
"y": 242
},
{
"x": 1642574400000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 242
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
}
],
"title": "01-19 14:40--01-19 15:00"
},
"y": 242
},
{
"x": 1642579200000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 242
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
}
],
"title": "01-19 16:00--01-19 16:20"
},
"y": 242
},
{
"x": 1642581600000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 242
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
}
],
"title": "01-19 16:40--01-19 17:00"
},
"y": 242
},
{
"x": 1642582800000,
"tooltip": {
"data": [
{
"unit": "ms",
"title": "Ajax response time",
"value": 37795
},
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
}
],
"title": "01-19 17:00--01-19 17:20"
},
"y": 37795
}
],
"name": "Ajax response time",
"type": "line",
"yAxis": 0,
"zIndex": 1
}
]
}
Trend Chart of Percentage of Slow Requests
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | slowRatio |
Return parameter
Name | Type |
---|---|
» series | array[object] |
»» data | array[object] |
»»» name | string |
»»» type | string |
»»» yAxis | integer |
»» zIndex | integer |
» yAxis | array[object] |
»» i18n | string |
»» oppsite | boolen |
»» tickUnit | string |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=slowRatio
Returns an example
{
"series": [
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 180
},
{
"unit": "times",
"title": "Number of Ajax slow requests",
"value": 91
},
{
"unit": "%",
"title": "Proportion of slow requests",
"value": 50.56
},
{
"unit": "%",
"title": "Percentage of slow network",
"value": 50.56
},
{
"unit": "%",
"title": "Proportion of slow transactions",
"value": 25
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 180
},
{
"x": 1642558800000,
"tooltip": {
"data": [
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
},
{
"unit": "times",
"title": "Number of Ajax slow requests",
"value": 0
},
{
"unit": "%",
"title": "Proportion of slow requests",
"value": 0
},
{
"unit": "%",
"title": "Percentage of slow network",
"value": 0
},
{
"unit": "%",
"title": "Proportion of slow transactions",
"value": 0
}
],
"title": "01-19 10:20--01-19 10:40"
},
"y": 1
},
{
"x": 1642560000000,
"tooltip": {
"data": [
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 3
},
{
"unit": "times",
"title": "Number of Ajax slow requests",
"value": 0
},
{
"unit": "%",
"title": "Proportion of slow requests",
"value": 0
},
{
"unit": "%",
"title": "Percentage of slow network",
"value": 0
},
{
"unit": "%",
"title": "Proportion of slow transactions",
"value": 0
}
],
"title": "01-19 10:40--01-19 11:00"
},
"y": 3
},
{
"x": 1642562400000,
"tooltip": {
"data": [
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
},
{
"unit": "times",
"title": "Number of Ajax slow requests",
"value": 0
},
{
"unit": "%",
"title": "Proportion of slow requests",
"value": 0
},
{
"unit": "%",
"title": "Percentage of slow network",
"value": 0
},
{
"unit": "%",
"title": "Proportion of slow transactions",
"value": 0
}
],
"title": "01-19 11:20--01-19 11:40"
},
"y": 1
},
{
"x": 1642582800000,
"tooltip": {
"data": [
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
},
{
"unit": "times",
"title": "Number of Ajax slow requests",
"value": 1
},
{
"unit": "%",
"title": "Proportion of slow requests",
"value": 100
},
{
"unit": "%",
"title": "Percentage of slow networks",
"value": 100
},
{
"unit": "%",
"title": "Proportion of slow transactions",
"value": 100
}
],
"title": "01-19 17:00--01-19 17:20"
},
"y": 1
}
],
"name": "Number of Ajax requests",
"type": "column",
"yAxis": 0,
"zIndex": 1
},
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 180
},
{
"unit": "times",
"title": "Number of Ajax slow requests",
"value": 91
},
{
"unit": "%",
"title": "Proportion of slow requests",
"value": 50.56
},
{
"unit": "%",
"title": "Percentage of slow network",
"value": 50.56
},
{
"unit": "%",
"title": "Proportion of slow transactions",
"value": 25
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 91
},
{
"x": 1642574400000,
"tooltip": {
"data": [
{
"unit": "times",
"title": "Number of Ajax requests",
"value": 1
},
{
"unit": "times",
"title": "Number of Ajax slow requests",
"value": 0
},
{
"unit": "%",
"title": "Proportion of slow requests",
"value": 0
},
{
"unit": "%",
"title": "Percentage of slow network",
"value": 0
},
{
"unit": "%",
"title": "Proportion of slow transactions",
"value": 0
}
],
"title": "01-19 14:40--01-19 15:00"
},
"y": 0
}
]
}
Error code trend chart
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | errorRatio |
Return parameter
Name | Type |
---|---|
» 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 |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=errorRatio
Slow Requests Impact Users Trend
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | slowCountUvTotal |
Return parameter
Name | Type |
---|---|
» series | array[object] |
»» data | array[object] |
»»» name | string |
»»» type | string |
»»» yAxis | integer |
»» zIndex | integer |
» yAxis | array[object] |
»» i18n | string |
»» oppsite | boolen |
»» tickUnit | string |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=slowCountUvTotal
Returns an example
{
"series": [
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "piece",
"title": "UV",
"value": 91
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 91
},
{
"x": 1642557600000,
"tooltip": {
"data": [
{
"unit": "piece",
"title": "UV",
"value": 4372
}
],
"title": "01-19 10:00--01-19 10:20"
},
"y": 4372
},
{
"x": 1642582800000,
"tooltip": {
"data": [
{
"unit": "piece",
"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": "piece"
}
]
}
Trend Chart of Number of Users Affected by Errors
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | errorCountUvTotal |
Return parameter
Name | Type |
---|---|
» series | array[object] |
»» data | array[object] |
»»» name | string |
»»» type | string |
»»» yAxis | integer |
»» zIndex | integer |
» yAxis | array[object] |
»» i18n | string |
»» oppsite | boolen |
»» tickUnit | string |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=errorCountUvTotal
Returns an example
{
"series": [
{
"data": [
{
"x": 1642556400000,
"tooltip": {
"data": [
{
"unit": "piece",
"title": "UV",
"value": 169
}
],
"title": "01-19 09:40--01-19 10:00"
},
"y": 169
},
{
"x": 1642560000000,
"tooltip": {
"data": [
{
"unit": "piece",
"title": "UV",
"value": 2
}
],
"title": "01-19 10:40--01-19 11:00"
},
"y": 2
},
{
"x": 1642581600000,
"tooltip": {
"data": [
{
"unit": "piece",
"title": "UV",
"value": 1
}
],
"title": "01-19 16:40--01-19 17:00"
},
"y": 1
},
{
"x": 1642582800000,
"tooltip": {
"data": [
{
"unit": "piece",
"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": "piece"
}
]
}
Dimension Analysis-Region
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample value |
---|---|---|---|
label | string | yes | map |
Return parameter
Name | Type |
---|---|
» requestCount | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» responseTime75 | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» pageUrl | string |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=map
Returns an example
{
"field": {
"id": "countryId",
"label": "countryName"
},
"data": [
{
"countryId": 48,
"countryName": "China",
"responseTime75": {
"format": "4000",
"label": "Ajax response time",
"unit": "ms",
"value": 4000
}
},
{
"countryId": 0,
"countryName": "Unknown",
"responseTime75": {
"format": "1009",
"label": "Ajax response time",
"unit": "ms",
"value": 1009
}
}
]
}
Dimension Analysis-TOP5 Operators
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | carrierId |
Return parameter
Name | Type |
---|---|
» requestCount | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» responseTime75 | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» carrierName | string |
» carrierId | integer |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=carrierId
Returns an example
[
{
"requestCount": {
"format": "8932",
"label": "Number of Ajax requests",
"unit": "times",
"value": 8932
},
"responseTime75": {
"format": "6049",
"label": "Ajax response time",
"unit": "ms",
"value": 6049
},
"carrierName": "China Unicom",
"carrierId": 16
},
{
"requestCount": {
"format": "3",
"label": "Number of Ajax requests",
"unit": "times",
"value": 3
},
"responseTime75": {
"format": "1009",
"label": "Ajax response time",
"unit": "ms",
"value": 1009
},
"carrierName": "Unknown",
"carrierId": 0
}
]
Dimension analysis-TOP5 error code
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample values |
---|---|---|---|
label | string | yes | errorCode |
Return parameter
Name | Type |
---|---|
» requestCount | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» errorCodeName | string |
» responseTime75 | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» errorCode | integer |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=errorCode
Returns an example
[
{
"requestCount": {
"format": "239",
"label": "Number of Ajax requests",
"unit": "times",
"value": 239
},
"errorCodeName": "506",
"responseTime75": {
"format": "75340",
"label": "Ajax response time",
"unit": "ms",
"value": 75340
},
"errorCode": 506
},
{
"requestCount": {
"format": "2509",
"label": "Number of Ajax requests",
"unit": "times",
"value": 2509
},
"errorCodeName": "Other errors",
"responseTime75": {
"format": "4000",
"label": "Ajax response time",
"unit": "ms",
"value": 4000
},
"errorCode": 990
},
{
"requestCount": {
"format": "2484",
"label": "Number of Ajax requests",
"unit": "times",
"value": 2484
},
"errorCodeName": "Client canceled",
"responseTime75": {
"format": "1839",
"label": "Ajax response time",
"unit": "ms",
"value": 1839
},
"errorCode": 905
}
]
Dimension Analysis-TOP5 Page
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample value |
---|---|---|---|
label | string | yes | pageUrl |
Return parameter
Name | Type |
---|---|
» requestCount | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» responseTime75 | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» pageUrl | string |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=pageUrl
Returns an example
[
{
"requestCount": {
"format": "2234",
"label": "Number of Ajax requests",
"unit": "times",
"value": 2234
},
"responseTime75": {
"format": "76591",
"label": "Ajax response time",
"unit": "ms",
"value": 76591
},
"pageUrl": "http://192.168.4.4/ref?age=9"
},
{
"requestCount": {
"format": "2230",
"label": "Number of Ajax requests",
"unit": "times",
"value": 2230
},
"responseTime75": {
"format": "1749",
"label": "Ajax response time",
"unit": "ms",
"value": 1749
},
"pageUrl": "http://192.168.3.3/ref"
},
{
"requestCount": {
"format": "3",
"label": "Number of Ajax requests",
"unit": "times",
"value": 3
},
"responseTime75": {
"format": "1641",
"label": "Ajax response time",
"unit": "ms",
"value": 1641
},
"pageUrl": "http://192.168.3.4/ref?age=42194"
}
]
Dimension Analysis-TOP5 Call Transaction
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Sample value |
---|---|---|---|
label | string | yes | txName |
Return parameter
Name | Type |
---|---|
» requestCount | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» responseTime75 | object |
»» format | string |
»» label | string |
»» unit | string |
»» value | integer |
» txName | string |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=txName
Returns an example
[
{
"requestCount": {
"format": "2",
"label": "Number of Ajax requests",
"unit": "times",
"value": 2
},
"responseTime75": {
"format": "84415",
"label": "Ajax response time",
"unit": "ms",
"value": 84415
},
"txName": "Transaction/URI/shop/list-12265"
},
{
"requestCount": {
"format": "2",
"label": "Number of Ajax requests",
"unit": "times",
"value": 2
},
"responseTime75": {
"format": "74502",
"label": "Ajax response time",
"unit": "ms",
"value": 74502
},
"txName": "Transaction/URI/shop/list-16964"
},
{
"requestCount": {
"format": "2",
"label": "Number of Ajax requests",
"unit": "times",
"value": 2
},
"responseTime75": {
"format": "1009",
"label": "Ajax response time",
"unit": "ms",
"value": 1009
},
"txName": "Transaction/URI/shop/list-1"
}
]
User tracking list
Method: GET
http://${domain name}/browser-api/adhoc/query
Request parameters
Name | Type | Required | Example value |
---|---|---|---|
label | string | yes | trace |
Return parameter
Name | Type |
---|---|
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 |
An example of a request
http://${domain name}/browser-api/adhoc/query?label=trace
Returns an example
[
{
"regionName": "Guangdong",
"txId": "",
"errorCode": 500,
"apmsStr": "{"neo-sre-cat":"55c2c38c2d6647fbb414dc152794cf98"}",
"deviceId": "14c3b05960ae4347afaa581033a44c22",
"networkTime": "242",
"transmission": "4.299",
"carrierName": "China Unicom",
"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":"Success","data":[{"id":1,"name":"Chaoyang District","lon" :116.43,"lat":39.92},{"id":2,"name":"Xuanwu District","lon":116.35,"lat":39.87},{"id":3,"name": "Dongcheng District","lon":116.42,"lat":39.93},{"id":4,"name":"Fengtai District","lon":116.28,"lat":39.85},{"id ":5,"name":"Fangshan District","lon":116.13,"lat":39.75},{"id":6,"name":"Haidian District","lon":116.3,"lat ":39.95}]}"}",
"applicationId": 0,
"carrierId": 16
}
]