User tracing list
Explanation of parameters passed by search item:
Pass on the reference | Description |
---|---|
sessionId | SessionID |
clientIp | IP address |
userId | UserID |
Device ID | deviceId |
tsResponseStart | Minimum response time |
tsResponseEnd | Maximum response time |
Slow full loading, slow white screen, slow first screen, slow interactive
Method:POST
/browser-api/ueextrace/pagetrace
Request parameters
Parameter name | Description | Parameter interpretation |
---|---|---|
browserAppId | application id | Example: 1625 |
sort | Default value | Slow full loading: duration; slow white screen: first _ paint _ time; slow first screen: first _ screen _ time; slow interactive: dom _ ready _ time |
traceType | Default value | Slow full load: slowpage; slow white screen: slowfp; slow first screen: slowfs; slow interactive: slowdr |
timePeriod | time interval | The pass value is the minute dimension. For example: Last 5 minutes: 5; Last 15 minutes: 30; Last 1 hour: 60; Last 3 hours: 180; Last 6 hours: 360; Last 12 hours: 720; Last 24 hours: 1440 |
endTime | End time | Accurate to the minute. Example: 2021-04-22 11:10. |
random | Random value | Example: 16189993630009765 |
lang | default value | zh_CN |
An example of a request parameter
{
"sort": "timestamp",
"traceType": "slowpage",
"timePeriod": 900,
"endTime": "2022-11-24 15:00",
"browserAppId": 1625
}
Return parameter
Parameter name | Explain |
---|---|
code | Response Status Code. 200: Success |
msg | Response status information |
data | Result value |
Returns an example
{
"code": 200,
"msg": "success",
"data": [{
"id": "01dc7f19ac6d48999726409654d2d526",
"timestamp": "2021-04-22 10:26", -- represents the page value: time
"browserApplicationId": 29,
"host": "127.0.0.1:5500",
"uri": "/*/index.html",
"requestUrl": "http://127.0.0.1:5500/360/index.html",----Represents the page value: URL
"regionId": 0,
"cityId": 0,
"carrierId": 0,
"webBrowser": "Chrome",
"webBrowserVersion": "89",
"clientIp": "192.168.5.148",--represents the page value: IP
"traceType": 3,
"deviceId": "1b3c573353834de2a7dedc3b611b1e62",
"sessionId": "a40d63afa8c0473aa720799cc930e0e5",--represents the page value: SessionID
"duration": 2162,--represents page value: fully loaded (ms)
"tracePath": "nbfs3://1159aca4e9631b3240089fd5af60",
"webBrowserName": "Chrome 89",
"firstScreenTime": 34,--represents the page value: first screen (ms)
"firstPaintTime": 34,--represents page value: white screen (ms)
"domReadyTime": 2147,--represents page value: interactive (ms)
"appName": "wjn_app_test004",--represents the page value: the application it belongs to
"applicationId": "0",
"applicationInstanceId": "0",
"oprtPerf": 0,
"moduleId": 22,
"moduleRule": "**",
"applicationServerTime": 0,
"serverIsError": 0,
"navigationStart": 1619058384768,
"originalNavigationStart": 0,
"userId": "abc",
"userNo": "abc"--represents the page value: UserID
}],
"status": 200
}
Actions and Failed Actions
Method:POST
/browser-api/ueextrace/operatetrace
Request parameters
Parameter name | Description | Parameter interpretation |
---|---|---|
browserAppId | application id | Example: 1625 |
sort | default value | timestamp |
traceType | Default value | Slow operation: slowoprt, failure operation: failoprt |
timePeriod | time interval | The pass value is the minute dimension. For example: Last 5 minutes: 5; Last 15 minutes: 30; Last 1 hour: 60; Last 3 hours: 180; Last 6 hours: 360; Last 12 hours: 720; Last 24 hours: 1440 |
endTime | End time | Accurate to the minute. Example: 2021-04-22 11:10 |
random | Random value | Example: 16189993630009765 |
lang | default value | zh_CN |
An example of a request parameter
{
"sort": "timestamp",
"traceType": "slowoprt",
"timePeriod": 900,
"endTime": "2022-11-24 15:00",
"browserAppId": 1625
}
Return parameter
Parameter name | Explain |
---|---|
code | Response Status Code 200: Success |
msg | Response status information |
data | Result value |
Returns an example
{
"code": 200,
"msg": "success",
"data": [{
"id": "h31K9HgBFmR4s13_21MN",
"browserApplicationId": 1259,
"timestamp": "2021-04-21 19:57",--represents page value: time
"regionId": 0,
"cityId": 0,
"carrierId": 275,
"webBrowser": "Internet Explorer",
"webBrowserVersion": "11",
"clientIp": "73.92.95.99",--represents the page value: IP
"deviceId": "6a65e7d862d246eba8495d53f43aa113",
"sessionId": "1d629ed366674b90b16fe4d4ec400870",--represents the page value: SessionID
"serverDuration": 0.0,
"serverCount": 0,
"xhrDuration": 0.0,
"xhrCount": 2,
"serverTimeAvg": 0.0,
"xhrTimeAvg": 0.0,
"ua": "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko",
"requestUrl": "http://cnnnq.bz/vdtmmy",
"oprtStatus": 0,
"tsResponse": 737,--represents page value: operation time (ms)
"appName": "yj-yujuhe-1",--represents the page value: the application it belongs to
"moduleId": 22,
"moduleRule": "**",
"oprtSource": 0,
"perfTrace": 0,
"oprtPerf": 0,
"oprtName": "yuanjie projection time test 7", -- represents the page value: operation name
"xhrData": [{
"method": "GET",
"xhrUrl": "https://jsonplaceholder.typicode.com/todos/1",
"originalStart": 1618919921662,
"originalEnd": 1618919922293,
"start": 0,
"end": 0,
"duration": 631,
"callbackTime": 4,
"httpStatus": 200,
"errorCode": 0,
"bytesReceived": 83,
"bytesSend": 0,
"networkTime": 0,
"startSpeOffset": 11,
"txInfo": null,
"serverTrace": false
}],
"userNo": "Anonymous (6a65e7d862d246eba8495d53f43aa113)", -- represents the page value: UserID
"agentVersion": "3.2.3",
"failCount": 0,
"oprtOriginalName": "yuanjie projection time test 7"
}],
"userNo": "Anonymous(6a65e7d862d246eba8495d53f43aa113)",
"agentVersion": "3.2.3",
"failCount": 0,
"oprtOriginalName": "yuanjie projection time test 7"
}],
"status": 200
}
Ajax request
- Method: POST
/browser-api/ajax/trace-list
Request parameters
Parameter name | Description | Default value |
---|---|---|
browserAppId | application id | Example: 1625 |
traceType | default value | ajax |
timePeriod | time interval | The pass value is the minute dimension. For example: Last 5 minutes: 5; Last 15 minutes: 30; Last 1 hour: 60; Last 3 hours: 180; Last 6 hours: 360; Last 12 hours: 720; Last 24 hours: 1440 |
endTime | End time | Accurate to the minute. Example: 2021-04-22 11:10 |
An example of a request parameter
{
"traceType": "ajax",
"timePeriod": 900,
"endTime": "2022-11-24 15:00",
"browserAppId": 1625
}
Return parameter
Parameter name | Explain |
---|---|
code | Response Status Code. 200: Success |
msg | Response status information |
data | Result value |
Returns an example
{
"code": 200,
"msg": "success",
"data": [{
"id": "Lahn93gBFmR4s13_rts5",--represents the page value: IP
"timestamp": "2021-04-22 10:27",--represents page value: time
"browserApplicationId": 29,
"httpCode": 200,--represents the page value: status code
"bytesSend": 16,
"bytesReceived": 317,
"responseTime": 451,--represents page value: Ajax response time (ms)
"applicationServerTime": 0,--represents the page value: server response time (ms)
"requestUrl": "http://192.168.5.148:8089/shop/list?query=1",--represents page value: URL
"applicationId": "0",
"applicationInstanceId": "0",
"countryId": 0,
"regionId": 0,
"cityId": 0,
"carrierId": 0,
"start": 1619058463375,
"end": 1619058463826,
"serverIsError": 0,
"originalStart": 0,
"originalEnd": 0,
"clientIp": "192.168.5.148",--represents the page value: IP
"deviceId": "1b3c573353834de2a7dedc3b611b1e62",
"userId": "abc",
"userNo": "abc",--represents the page value: UserID
"networkTime": "451",--represents the page value: network time (ms)
"region": "Unknown",--represents the page value: region
"carrier": "Unknown",--represents the page value: carrier
"pageRequestUrl": "http://127.0.0.1:5500/360/index.html",--represents the page value: calling page
"transmission": 0.325,--represents the page value: data size (KB)
"sessionId": "a40d63afa8c0473aa720799cc930e0e5",--represents the page value: SessionID
"apmTraceId":"ceshi1",--represents the page value: ApmTraceID
"globalScope": {
"contexts": {
"os": {
"name": "window",
"time": "2021-04-22T02:26:24.910Z",
"version": "11"
},
"extra": {
"name": "jingyn1"
}
}
}
}],
"status": 200
}
JS error
Method:POST
/browser-api/trace/jserror/list
Request parameters
Parameter name | Description | Parameter interpretation |
---|---|---|
browserAppId | application id | Example: 1625 |
traceType | default value | jserror |
timePeriod | time interval | The pass value is the minute dimension. For example: Last 5 minutes: 5; Last 15 minutes: 30; Last 1 hour: 60; Last 3 hours: 180; Last 6 hours: 360; Last 12 hours: 720; Last 24 hours: 1440 |
endTime | End time | Accurate to the minute. Example: 2021-04-22 11:10 |
random | Random value | Example: 16189993630009765 |
lang | default value | zh_CN |
An example of a request parameter
{
"traceType": "jserror",
"timePeriod": 900,
"endTime": "2022-11-24 15:00",
"browserAppId": 1625
}
Return parameter
Parameter name | Explain |
---|---|
code | Response Status Code 200: Success |
msg | Response status information |
data | Result value |
Returns an example
{
"code": 200,
"msg": "success",
"data": [{
"id": "db8449e3fcb046a79c33ebfc5f263fb3",
"timestamp": "2021-04-22 10:04",--represents page value: time
"host": "192.168.2.119:5088",
"uri": "/wy/test0.html",
"webBrowser": "Chrome",
"webBrowserVersion": "90",
"jsError": "Uncaught ReferenceError: _sys_cfg is not defined",--represents page value: error type
"fileName": "http://192.168.2.119:5088/wy/js/bd.js?version=0213",
"trace": {
"url": "http://192.168.2.119:5088/wy/test0.html?name=1",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36",
"msg": "Uncaught ReferenceError: _sys_cfg is not defined",
"line": "82",
"col": "46",
"cnt": "1",
"src": "http://192.168.2.119:5088/wy/js/bd.js?version=0213",
"stack": "ReferenceError: _sys_cfg is not defined\n at _sys_ty_autoDate (http://192.168.2.119:5088/wy/js/bd.js?version=0213:82:46)\n at _sys_tyTimeout (http:/ /192.168.2.119:5088/wy/js/bd.js?version=0213:238:5)\n at <anonymous>:1:1",
"module": null
},
"moduleId": 22,
"moduleRule": "**",
"userId": "1",
"deviceId": "3f28d4f98b29415fa4f3f485d69ea36e",
"sessionId": "cdb9f1c8b1b744b08812b31758d5c284",--represents the page value: SessionID
"countryId": 0,
"regionId": 0,
"cityId": 0,
"carrierId": 0,
"agentVersion": "3.3.0",
"requestUrl": "http://192.168.2.119:5088/wy/test0.html?name=1",--represents page value: occurrence page
"clientIp": "192.168.254.198",--represents page value: IP
"os": "Windows 10",
"region": "",
"carrier": "unknown",
"userNo": "1",--represents the page value: UserID
"browserApplicationId": 1260,
"browserApplicationName": "BPI_testapp5088"--represents the page value: the application it belongs to
}],
"status": 200
}
Module-Territory List
Method:GET
/browser-api/region/list
Request parameters
Parameter name | Type | Required | Description | Remark |
---|---|---|---|---|
moduleId | int | yes | module id | |
regionType | String | Yes | Map type | The world is the country, the country is the provincial capital, and the region is the city. |
countryId | int | No | country id | When regionType = country, the parameter value is the ID corresponding to the country, for example, 48 for China |
regionId | int | No | Province id | When regionType = region, the parameter value is the ID corresponding to the province, for example, 4811 for Beijing |
timePeriod | int | Yes | Time interval | The passed value is the minute dimension, for example: last 5 minutes: 5; last 15 minutes: 15; last 30 minutes: 30; last 1 hour: 60; last 3 hours: 180; last 6 hours: 360; last 12 hours: 720; last 24 hours: 1440 |
endTime | Date | Yes | End time | Accurate to the minute. Example: 2022-03-14 11:10 |
random | int | no | random value | Example: 16189993630009765 |
lang | String | No | Default value | zh_CN |
Return parameter
Parameter name | Explain |
---|---|
code | Response Status Code. 200: Success |
msg | Response status information |
data | Result value |
status | Status Code |
Returns an example
{
"code": 200,
"msg": "success",
"data": [
{
"uxScore": 80, // User experience score
"pv": 28, //pv(times)
"uv": 1, // uv(times)
"slowpageRatio": 100.0, // Ratio of slow pages
"pageLoad": 3742.0, // Full load time
"firstPaint": 235.0, // White screen time
"firstScreen": 235.0, // First screen time
"domReady": 236.0, // Interactive time
"operationTime": 0.0, // operation time
"operationAvailability": 0.0, // Operation availability
"operationCount": 0.0, // Number of operations
"htmlLoad": 10.0, //html loading
"jsErrorRate": 0.0, // js error rate
"dns": 0.0, // dns time
"tcp": 0.0, // tcp time consuming
"ssl": 0.0, // ssl takes time
"firstPacket": 10.0, // first packet
"remainPacket": 0.0, // remaining packets
"renderTime": 3506.0, // Page rendering
"name": "Beijing", //City
"city": "Beijing"
}
],
"status": 200
}