Skip to main content

Ajax request

Ajax list

Method: POST

http://${domain name}/browser-api/ajax/ajaxSqeList

Return parameter

NameType
» urlAliasstring
» requestCountinteger
» sumSlowCountCompareobject
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» responseTimeCompareobject
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» errorRatiostring
» slowCountUvTotalinteger
» errorCountUvTotalinteger
» sumErrorCountinteger
» uvTotalinteger
» sumSlowCountinteger
» paramsstring
» uristring
» networkTimestring
» responseTime75integer
» slowNetworkRatiostring
» callbackTimestring
» slowTxRatiostring
» applicationServerTimestring
» slowRatiostring
» hoststring
» errorRatioCompareobject
»» formatstring
»» labelstring
»» unitstring
»» valuenumber
» browserApplicationIdinteger
» ajaxSendBytesinteger

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

NameTypeRequiredSample values
labelstringyeserrorCode

Return parameter

FieldType
requestCountInt
errorCodeNameString
errorCodeInt

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

NameTypeRequiredExample value
labelstringyeshost

Return parameter

FieldType
requestCountInt
hostString

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

NameTypeRequiredExample value
labelstringyesURI

Return parameter

FieldType
requestCountInt
uriString

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

NameTypeRequiredExample value
labelstringyesparams

Return parameter

FieldType
requestCountInt
paramsString

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

NameTypeRequiredSample value
labelstringyespageUrl

Return parameter

FieldType
requestCountInt
pageUrlString

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

NameTypeRequiredSample value
labelstringyescountry

Return parameter

FieldType
requestCountInt
countryNameString
countryIdInt

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

NameTypeRequiredExample value
labelstringyescarrier

Return parameter

FieldType
requestCountInt
carrierNameString
carrierIdInt

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

NameTypeRequiredExample value
labelstringyestxName

Return parameter

FieldType
requestCountInt
txNameString

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

NameTypeRequiredSample values
labelstringyeserrorCountUvTotal

Return parameter

NameType
» codeinteger
» messagestring
» data[object]
»» metriceStrstring
»» metriceValueinteger
»» metriceLabelstring
»» metriceUnitstring
»» metriceFormatstring
»» compareValueinteger
»» compareFormatstring
»» comparePercentnumber

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

NameTypeRequiredSample values
labelstringyesslowCountUvTotal

Return parameter

NameType
» codeinteger
» messagestring
» data[object]
»» metriceStrstring
»» metriceValueinteger
»» metriceLabelstring
»» metriceUnitstring
»» metriceFormatstring
»» compareValueinteger
»» compareFormatstring
»» comparePercentnumber

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
}
]
}

Method: GET

http://${domain name}/browser-api/ajax/metricsRingRatio

Return parameter

NameType
» codeinteger
» messagestring
» data[object]
»» metriceStrstring
»» metriceValueinteger
»» metriceLabelstring
»» metriceUnitstring
»» metriceFormatstring
»» compareValueinteger
»» compareFormatstring
»» comparePercentnumber

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

NameTypeRequiredSample values
labelstringyesresponseTime75

Return parameter

NameType
» seriesarray[object]
»» dataarray[object]
»»» namestring
»»» typestring
»»» yAxisinteger
»» zIndexinteger
» yAxisarray[object]
»» i18nstring
»» oppsiteboolen
»» tickUnitstring

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

NameTypeRequiredSample values
labelstringyesslowRatio

Return parameter

NameType
» seriesarray[object]
»» dataarray[object]
»»» namestring
»»» typestring
»»» yAxisinteger
»» zIndexinteger
» yAxisarray[object]
»» i18nstring
»» oppsiteboolen
»» tickUnitstring

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

NameTypeRequiredSample values
labelstringyeserrorRatio

Return parameter

NameType
» seriesarray[object]
»» dataarray[object]
»»» namestring
»»» paramsobject
»»»» errorCodeInteger
»»» typestring
»»» yAxisinteger
»» zIndexinteger
» yAxisarray[object]
»» oppsiteboolen
»» tickUnitstring

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

NameTypeRequiredSample values
labelstringyesslowCountUvTotal

Return parameter

NameType
» seriesarray[object]
»» dataarray[object]
»»» namestring
»»» typestring
»»» yAxisinteger
»» zIndexinteger
» yAxisarray[object]
»» i18nstring
»» oppsiteboolen
»» tickUnitstring

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

NameTypeRequiredSample values
labelstringyeserrorCountUvTotal

Return parameter

NameType
» seriesarray[object]
»» dataarray[object]
»»» namestring
»»» typestring
»»» yAxisinteger
»» zIndexinteger
» yAxisarray[object]
»» i18nstring
»» oppsiteboolen
»» tickUnitstring

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

NameTypeRequiredSample value
labelstringyesmap

Return parameter

NameType
» requestCountobject
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» responseTime75object
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» pageUrlstring

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

NameTypeRequiredSample values
labelstringyescarrierId

Return parameter

NameType
» requestCountobject
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» responseTime75object
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» carrierNamestring
» carrierIdinteger

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

NameTypeRequiredSample values
labelstringyeserrorCode

Return parameter

NameType
» requestCountobject
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» errorCodeNamestring
» responseTime75object
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» errorCodeinteger

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

NameTypeRequiredSample value
labelstringyespageUrl

Return parameter

NameType
» requestCountobject
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» responseTime75object
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» pageUrlstring

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

NameTypeRequiredSample value
labelstringyestxName

Return parameter

NameType
» requestCountobject
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» responseTime75object
»» formatstring
»» labelstring
»» unitstring
»» valueinteger
» txNamestring

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

NameTypeRequiredExample value
labelstringyestrace

Return parameter

NameType
regionNamestring
txIdstring
errorCodeInteger
apmsStrstring
deviceIdstring
transmissionstring
carrierNamestring
globalScopeStrstring
httpCodeInteger
txNamestring
timestampInteger
traceIdstring
responseTimestring
sessionIdstring
userIdstring
urlstring
regionIdInteger
applicationServerTimestring
clientIpstring
localScopeStrstring
pageUrlstring
reqDetailStrstring
applicationIdInteger
carrierIdInteger

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
}
]