Page Analysis
Page Indicator Trend Chart-PV
POST /adhoc/query
Body request parameter
{
"datasource": "BRS_WECHAT_APPLET ",
"timePeriod": 360
"endTime": "2025-03-19 14:27 ",
"dimensions ": [
"timeStr"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "path ",
"value ": [
"/*/yemian/canshu1/a/D"
]
}
],
"metrics ": [
"pv"
],
"limit": 10
"render": "chart"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
{
"series ": [
{
"data ": [
{
"x": 1734537600000
"tooltip ": {
"data ": [
{
"unit ": "",
"title": "PV ",
"value": 0
}
],
"title": "12-19 00:00--12-20 00:00"
},
"y": 0
}
],
"metricKey": "pv ",
"name": "PV ",
"showInLegend": true
"type": "column ",
"unit ": "",
"yAxis": 0
"zIndex": 1
}
],
"summary": []
"yAxis ": [
{
"i18n": "unit.count ",
"opposite": false
"tickUnit ": ""
}
]
}
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
Status Code 200
Name | Type | Required | Constraints | Chinese name | Description |
---|---|---|---|---|---|
» series | [object] | true | none | none | |
»» data | [object] | false | none | none | |
»»» x | integer | true | none | none | |
»»» tooltip | object | true | none | none | |
»»»» data | [object] | true | none | none | |
»»»»» unit | string | true | none | none | |
»»»»» title | string | true | none | none | |
»»»»» value | integer | true | none | none | |
»»»» title | string | true | none | none | |
»»» y | integer | true | none | none | |
»» metricKey | string | false | none | none | |
»» name | string | false | none | none | |
»» showInLegend | boolean | false | none | none | |
»» type | string | false | none | none | |
»» unit | string | false | none | none | |
»» yAxis | integer | false | none | none | |
»» zIndex | integer | false | none | none | |
» summary | [string] | true | none | none | |
» yAxis | [object] | true | none | none | |
»» i18n | string | false | none | none | |
»» opposite | boolean | false | none | none | |
»» tickUnit | string | false | none | none |
Set Key Page Identification
POST /page/set-keypage
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
mpId | query | string | No | none |
path | query | string | No | none |
status | query | string | No | none |
lang | query | string | No | none |
Return Example
{
"code": 200
"msg": "success ",
"data": null
"status": 200
}
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
Status Code 200
Name | Type | Required | Constraints | Chinese name | Description |
---|---|---|---|---|---|
» code | integer | true | none | none | |
» msg | string | true | none | none | |
» data | null | true | none | none | |
» status | integer | true | none | none |
Page Indicator Trend Chart
POST /adhoc/query
Body request parameter
"{\n \"datasource\": \"BRS_WECHAT_APPLET\",\n \"timePeriod\": {{timePeriod}},\n \"endTime\": \"{{endTime}}\",\n \"dimensions\": [\n \"timeStr\"\n ],\n \"filters\": [\n {\n \"name\": \"mpId\",\n \"value\": [\n {{mpId}}\n ],\n \"operator\": \"IN\"\n },\n {\"name\":\"path\",\"value\":[\"/*/yemian/canshu1/a/D\"]}\n ],\n \n \"metrics \": [\n \"pv\",\n \"uv\",\n \"onReadyDurAvg\",\n \"loadDurAvg\",\n \"customTimingDur\",\n \"httpDurAvg\",\n \"httpErrRate\",\n \"httpServerTimingDurAvg\",\n \"jsErrRate\",\n \"slowLoadPageRate\",\n \"stuckPageRate\",\n \"exceptionQuitRate\",\n \"onlineDurAvg\"\n ],\n \"limit\": 10,\n \"render\": \"chart\"\n}"
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
[
{
"uv ": {
"format": "306 ",
"label": "UV ",
"unit ": "",
"value": 306
},
"httpServerTimingDurAvg ": {
"format": "3400 ",
"label": "Server-side time consumption",
"unit": "ms ",
"value": 3400
},
"customTimingDur ": {
"format": "0 ",
"label": "Custom Load Time",
"unit": "ms ",
"value": 0
},
"httpErrRate ": {
"format": "0 ",
"label": "Request Error Rate",
"unit": "ms ",
"value": 0
},
"slowLoadPageRate ": {
"format": "0 ",
"label": "Percentageof Slow Pages",
"unit": "% ",
"value": 0
},
"pv ": {
"format": "552 ",
"label": "PV ",
"unit ": "",
"value": 552
},
"loadDurAvg ": {
"format": "3662 ",
"label": "Loading Time",
"unit": "ms ",
"value": 3662
},
"httpDurAvg ": {
"format": "432 ",
"label": "Request Time",
"unit": "ms ",
"value": 432
},
"onReadyDurAvg ": {
"format": "1544 ",
"label": "onReady ",
"unit": "ms ",
"value": 1544
},
"path": "/*/yemian/canshu1/a/D ",
"exceptionQuitRate ": {
"format": "0 ",
"label": "Page Exception Bounce Rate",
"unit": "% ",
"value": 0
},
"onlineDurAvg ": {
"format": "5158000 ",
"label": "Online Time",
"unit": "ms ",
"value": 5158000
},
"jsErrRate ": {
"format": "0 ",
"label": "JS error rate",
"unit": "% ",
"value": 0
},
"stuckPageRate ": {
"format": "0 ",
"label": "Catton Rate",
"unit": "% ",
"value": 0
}
}
]
{
"series ": [
{
"data ": [
{
"x": 1734537600000
"tooltip ": {
"data ": [
{
"unit ": "",
"title": "PV ",
"value": 0
},
{
"unit ": "",
"title": "UV ",
"value": 0
},
{
"unit": "ms ",
"title": "On Ready ",
"value": 0
},
{
"unit": "ms ",
"title": "First Load Time ",
"value": 0
},
{
"unit": "ms ",
"title": "Net Response Time ",
"value": 0
},
{
"unit": "% ",
"title": "Net Request Error Percent ",
"value": 0
},
{
"unit": "ms ",
"title": "Net Application Server Time ",
"value": 0
},
{
"unit": "% ",
"title": "JS Error Percent ",
"value": 0
},
{
"unit": "% ",
"title": "Slow Page Percent ",
"value": 0
},
{
"unit": "% ",
"title": "Stuck Percent ",
"value": 0
},
{
"unit": "% ",
"title": "Page Exception Quit Percent ",
"value": 0
},
{
"unit": "s ",
"title": "Online Time ",
"value": 0
}
],
"title": "12-19 00:00--12-20 00:00"
},
"y": 0
}
],
"metricKey": "pv ",
"name": "PV ",
"showInLegend": true
"type": "column ",
"unit ": "",
"yAxis": 0
"zIndex": 1
}
],
"summary": []
"yAxis ": [
{
"i18n": "unit.count ",
"opposite": false
"tickUnit ": ""
}
]
}
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
Status Code 200
Name | Type | Required | Constraints | Chinese name | Description |
---|---|---|---|---|---|
» series | [object] | true | none | none | |
»» data | [object] | true | none | none | |
»»» x | integer | true | none | none | |
»»» tooltip | object | true | none | none | |
»»»» data | [object] | true | none | none | |
»»»»» unit | string | true | none | none | |
»»»»» title | string | true | none | none | |
»»»»» value | integer | true | none | none | |
»»»» title | string | true | none | none | |
»»» y | integer | true | none | none | |
»» metricKey | string | true | none | none | |
»» name | string | true | none | none | |
»» showInLegend | boolean | true | none | none | |
»» type | string | true | none | none | |
»» unit | string | true | none | none | |
»» yAxis | integer | true | none | none | |
»» zIndex | integer | true | none | none | |
» summary | [string] | true | none | none | |
» yAxis | [object] | true | none | none | |
»» i18n | string | true | none | none | |
»» opposite | boolean | true | none | none | |
»» tickUnit | string | true | none | none |
Page List
POST /adhoc/query
Body request parameter
{
"datasource": "BRS_WECHAT_APPLET ",
"timePeriod": 360
"endTime": "2025-03-19 14:27 ",
"dimensions ": [
"path"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "messageType ",
"value ": [
"PAGE"
],
"operator": "IN"
}
],
"metrics ": [
"pv ",
"uv ",
"onReadyDurAvg ",
"loadDurAvg ",
"customTimingDur ",
"httpDurAvg ",
"httpErrRate ",
"httpServerTimingDurAvg ",
"jsErrRate ",
"slowLoadPageRate ",
"stuckPageRate ",
"exceptionQuitRate ",
"onReadyHistogram ",
"onlineDurAvg"
],
"orderByExprs": "pv desc ",
"limit": 10
"render": "list"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
[
{
"uv": 1114
"httpServerTimingDurAvg": 0
"httpErrRate": 0
"slowLoadPageRate": 100
"pv": 1141
"pathFocus": false
"loadDurAvg": 7058
"httpDurAvg": 0
"onReadyDurAvg": 4701
"path": "/*/yemian/canshu0/ B /C ",
"exceptionQuitRate": 0
"onlineDurAvg": 30
"jsErrRate": 11.66
"stuckPageRate": 0.7
"pathAlias ": ""
}
]
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
Status Code 200
Name | Type | Required | Constraints | Chinese name | Description |
---|---|---|---|---|---|
» uv | integer | true | none | none | |
» httpServerTimingDurAvg | integer | true | none | none | |
» httpErrRate | string | true | none | none | |
» slowLoadPageRate | string | true | none | none | |
» pv | integer | true | none | none | |
» pathFocus | boolean | true | none | none | |
» loadDurAvg | integer | true | none | none | |
» httpDurAvg | integer | true | none | none | |
» onReadyDurAvg | integer | true | none | none | |
» path | string | true | none | none | |
» exceptionQuitRate | string | true | none | none | |
» onlineDurAvg | integer | true | none | none | |
» jsErrRate | string | true | none | none | |
» stuckPageRate | string | true | none | none | |
» pathAlias | string | true | none | none |
Data Model
Page/Page Trace
Page trace details
POST /abnormal/page/trace
Body request parameter
{
"timePeriod": "10081 ",
"endTime": "2024-03-26 15:55 ",
"filters ": [
{
"name": "mpId ",
"value ": [
"106824"
],
"operator": "IN"
}
],
"datasource": "MP_PAGE_TRACE ",
"dimensions ": [
"*"
],
"orderByExprs": "timestamp desc ",
"render": "object"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
traceId | query | string | No | none |
body | body | object | No | none |
Return Example
{
"code": 200
"msg": "success ",
"data ": {
"header ": {
"traceTime": "2025-03-19 14:25 ",
"path": "/pages/index/index ",
"userId": "testUser ",
"sessionId": "f8c04247-a3cb-4dfc-8807-4f8de960cf2d ",
"width": "390 ",
"height": "671 ",
"system": "iOS 10.0.1 ",
"deviceType": "iPhone 12/13 (Pro) ",
"wechatVersion": "8.0.5 ",
"ip": "114.242.217.98 ",
"countryName": "China ",
"regionName": "Beijing ",
"cityName": "Beijing ",
"countyName": "Chaoyang District",
"carrierName": "China Unicom ",
"networkType": "wifi ",
"firstResponse": 3742
"responseTime": 6900
"applicationServerTime": 0
"onReady": 203
"customTime": 0
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Mobile/15E148 Safari/604.1 wechatdevtools/1.06.2412050 MicroMessenger/8.0.5 Language/zh_CN webview /",
"pageEvent ": {
"onHide": 1742365553050
"onLoad": 1742365471566
"onReady": 1742365471769
"onShow": 1742365471580
"onUnload": 0
},
"routeTrack ": [
{
"timestamp": 1742365466800
"route": "pages/cptest/cptest"
},
{
"timestamp": 1742365471566
"route": "pages/index/index"
}
],
"metric ": {
"originalFirstLoad": 5305
"jsError": false
"netError": false
"stuck": false
"firstLoad": 5305
},
"sdkVersion": "3.6.0 ",
"pageBeginTime": 1742365471566
},
"waterFall ": {
"domains ": [
"192.168.5.114:8089",
"reportalpha1.tingyun.com"
],
"items ": [
{
"mpId": 10
"uid": "testUser ",
"sid": "f8c04247-a3cb-4dfc-8807-4f8de960cf2d ",
"userId": "testUser ",
"sessionId": "f8c04247-a3cb-4dfc-8807-4f8de960cf2d ",
"ip": "114.242.217.98 ",
"countryId": 48
"regionId": 4811
"cityId": 481101
"countyId": 48110105
"carrierId": 16
"countryName": "China ",
"regionName": "Beijing ",
"cityName": "Beijing ",
"countyName": "Chaoyang District",
"carrierName": "China Unicom ",
"system": "iOS 10.0.1 ",
"deviceType": "iPhone 12/13 (Pro) ",
"wechatVersion": "8.0.5 ",
"sdkVersion": "3.6.0 ",
"v": "V4.2.2 ",
"releaseName": "V4.2.2 ",
"networkType": "wifi ",
"connectType": "wifi ",
"screenHeight": "844 ",
"screenWidth": "390 ",
"timestamp": "2025-03-19 14:25 ",
"name": "/shop/list ",
"timeOffset": 1
"type": "network ",
"id": "8e1e989bd29142948b4805a9a4436710 ",
"path": "/pages/index/index ",
"trace": true
"host": "192.168.5.114:8089 ",
"uri": "/shop/list ",
"url": "http://192.168.5.114:8089/shop/list? name=Linux&color=blue ",
"httpCode": "request:fail ",
"status": "request:fail ",
"serverTraceId ": "",
"applicationId": "0 ",
"instanceId": "0 ",
"serverId": "0 ",
"responseTime": 3741
"applicationServerTime": 0
"bytesSent": 0.016
"bytesReceived": 0
"actionName ": "",
"start": 1742365471567
"end": 1742365475308
"netCount": 1
"callbackTime": 1
"requestMethod": "POST ",
"serverTrace": false
"requestId": 1
"serverTraceTime": 1742365471
"server": false
"failMessage": "request:fail ",
"requestHeaders ": "",
"responseHeaders ": "",
"requestBody ": "",
"responseBody ": "",
"compareValue": 1
}
],
"timeSpan": 15365
},
"newSetData ": {
"traces ": [
{
"timestamp": 1742365471575
"dataPath": "items ",
"dur": 204
"pendingDur": 201
"updateDur": 3
"size": 0.02
"content": "{\"items\":[\"wjn-items\"]}"
}
],
"dur": 5
"updateDur": 0
"pendingDur": 5
"maxRps": 101
}
},
"status": 200
}
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
Status Code 200
Name | Type | Required | Constraints | Chinese name | Description |
---|---|---|---|---|---|
» code | integer | true | none | none | |
» msg | string | true | none | none | |
» data | object | true | none | none | |
»» header | object | true | none | none | |
»»» traceTime | string | true | none | none | |
»»» path | string | true | none | none | |
»»» userId | string | true | none | none | |
»»» sessionId | string | true | none | none | |
»»» width | string | true | none | none | |
»»» height | string | true | none | none | |
»»» system | string | true | none | none | |
»»» deviceType | string | true | none | none | |
»»» wechatVersion | string | true | none | none | |
»»» ip | string | true | none | none | |
»»» countryName | string | true | none | none | |
»»» regionName | string | true | none | none | |
»»» cityName | string | true | none | none | |
»»» countyName | string | true | none | none | |
»»» carrierName | string | true | none | none | |
»»» networkType | string | true | none | none | |
»»» firstResponse | integer | true | none | none | |
»»» responseTime | integer | true | none | none | |
»»» applicationServerTime | integer | true | none | none | |
»»» onReady | integer | true | none | none | |
»»» customTime | integer | true | none | none | |
»»» ua | string | true | none | none | |
»»» pageEvent | object | true | none | none | |
»»»» onHide | integer | true | none | none | |
»»»» onLoad | integer | true | none | none | |
»»»» onReady | integer | true | none | none | |
»»»» onShow | integer | true | none | none | |
»»»» onUnload | integer | true | none | none | |
»»» routeTrack | [object] | true | none | none | |
»»»» timestamp | integer | true | none | none | |
»»»» route | string | true | none | none | |
»»» metric | object | true | none | none | |
»»»» originalFirstLoad | integer | true | none | none | |
»»»» jsError | boolean | true | none | none | |
»»»» netError | boolean | true | none | none | |
»»»» stuck | boolean | true | none | none | |
»»»» firstLoad | integer | true | none | none | |
»»» sdkVersion | string | true | none | none | |
»»» pageBeginTime | integer | true | none | none | |
»» waterFall | object | true | none | none | |
»»» domains | [string] | true | none | none | |
»»» items | [object] | true | none | none | |
»»»» mpId | integer | true | none | none | |
»»»» uid | string | true | none | none | |
»»»» sid | string | true | none | none | |
»»»» userId | string | true | none | none | |
»»»» sessionId | string | true | none | none | |
»»»» ip | string | true | none | none | |
»»»» countryId | integer | true | none | none | |
»»»» regionId | integer | true | none | none | |
»»»» cityId | integer | true | none | none | |
»»»» countyId | integer | true | none | none | |
»»»» carrierId | integer | true | none | none | |
»»»» countryName | string | true | none | none | |
»»»» regionName | string | true | none | none | |
»»»» cityName | string | true | none | none | |
»»»» countyName | string | true | none | none | |
»»»» carrierName | string | true | none | none | |
»»»» system | string | true | none | none | |
»»»» deviceType | string | true | none | none | |
»»»» wechatVersion | string | true | none | none | |
»»»» sdkVersion | string | true | none | none | |
»»»» v | string | true | none | none | |
»»»» releaseName | string | true | none | none | |
»»»» networkType | string | true | none | none | |
»»»» connectType | string | true | none | none | |
»»»» screenHeight | string | true | none | none | |
»»»» screenWidth | string | true | none | none | |
»»»» timestamp | string | true | none | none | |
»»»» name | string | true | none | none | |
»»»» timeOffset | integer | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | string | true | none | none | |
»»»» path | string | true | none | none | |
»»»» trace | boolean | true | none | none | |
»»»» host | string | true | none | none | |
»»»» uri | string | true | none | none | |
»»»» url | string | true | none | none | |
»»»» httpCode | string | true | none | none | |
»»»» status | string | true | none | none | |
»»»» serverTraceId | string | true | none | none | |
»»»» applicationId | string | true | none | none | |
»»»» instanceId | string | true | none | none | |
»»»» serverId | string | true | none | none | |
»»»» responseTime | integer | true | none | none | |
»»»» applicationServerTime | integer | true | none | none | |
»»»» bytesSent | number | true | none | none | |
»»»» bytesReceived | integer | true | none | none | |
»»»» actionName | string | true | none | none | |
»»»» start | integer | true | none | none | |
»»»» end | integer | true | none | none | |
»»»» netCount | integer | true | none | none | |
»»»» callbackTime | integer | true | none | none | |
»»»» requestMethod | string | true | none | none | |
»»»» serverTrace | boolean | true | none | none | |
»»»» requestId | integer | true | none | none | |
»»»» serverTraceTime | integer | true | none | none | |
»»»» server | boolean | true | none | none | |
»»»» failMessage | string | true | none | none | |
»»»» requestHeaders | string | true | none | none | |
»»»» responseHeaders | string | true | none | none | |
»»»» requestBody | string | true | none | none | |
»»»» responseBody | string | true | none | none | |
»»»» compareValue | integer | true | none | none | |
»»» timeSpan | integer | true | none | none | |
»» newSetData | object | true | none | none | |
»»» traces | [object] | true | none | none | |
»»»» timestamp | integer | true | none | none | |
»»»» dataPath | string | true | none | none | |
»»»» dur | integer | true | none | none | |
»»»» pendingDur | integer | true | none | none | |
»»»» updateDur | integer | true | none | none | |
»»»» size | number | true | none | none | |
»»»» content | string | true | none | none | |
»»» dur | integer | true | none | none | |
»»» updateDur | integer | true | none | none | |
»»» pendingDur | integer | true | none | none | |
»»» maxRps | integer | true | none | none | |
» status | integer | true | none | none |
Page Trace details
POST /adhoc/query
Body request parameter
{
"datasource": "MP_PAGE_TRACE ",
"timePeriod": 10080
"endTime ": "",
"metrics": []
"dimensions ": [
"traceData ",
"traceId"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "traceId ",
"value ": [
"1175007"
],
"operator": "IN"
}
],
"groupBy": false
"orderByExprs": "timestamp desc ",
"limit": 10
"render": "object"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
[
{
"traceId": "cae9bf9e9f7e45b5a64d4594615861e5 ",
"traceData": "{\"ct\":0,\"sd\":{\"data\":null,\"traces\":[{\"timestamp\":1742365477183,\"dataPath\":\"smallItem\",\"dur\":15,\"pendingDur \" :2,\"updateDur\":13,\"size\":33,\"content\":\"{\\\"smallItem\\\":0.08652234775336076}\"},{\"timestamp\":1742365475824,\"dataPath\":\"smallItem\",\"dur \": 8,\"pendingDur\":5,\"updateDur\":3,\"size\":33,\"content\":\"{\\\"smallItem\\\":0.25079273437675265}\"},{\"timestamp\":1742365481193,\"dataPath\":\"smallItem \", \"dur\":5,\"pendingDur\":2,\"updateDur\":3,\"size\":33,\"content\":\"{\\\"smallItem\\\":0.33919532871330604}\"},{\"timestamp\":1742365471575,\"dataPath \": \"items\",\"dur\":204,\"pendingDur\":201,\"updateDur\":3,\"size\":23,\"content\":\"{\\\"items\\\":[\\\"wjn-items\\\"]}\"} ,{\" timestamp\":1742365477007,\"dataPath\":\"smallItem\",\"dur\":6,\"pendingDur\":3,\"updateDur\":3,\"size\":32,\"content\":\"{\\\"smallItem\\\":0.9349550014235857} \" },{\"timestamp\":1742365480611,\"dataPath\":\"smallItem\",\"dur\":6,\"pendingDur\":3,\"updateDur\":3,\"size\":32,\"content\":\"{\\\"smallItem \\\" :0.4268406927749411}\"},{\"timestamp\":1742365475441,\"dataPath\":\"smallItem\",\"dur\":5,\"pendingDur\":2,\"updateDur\":3,\"size\":32,\"content \":\" {\\\"smallItem\\\":0.1138328908737074}\"},{\"timestamp\":1742365475721,\"dataPath\":\"smallItem\",\"dur\":6,\"pendingDur\":3,\"updateDur\":3,\"size\":32 ,\" content\":\"{\\\"smallItem\\\":0.3957627405787272}\"},{\"timestamp\":1742365481792,\"dataPath\":\"smallItem\",\"dur\":6,\"pendingDur\":3,\"updateDur\":3,\"size \" :32,\"content\":\"{\\\"smallItem\\\":0.8849798896590617}\"},{\"timestamp\":1742365475399,\"dataPath\":\"smallItem\",\"dur\":3,\"pendingDur\":1,\"updateDur \": 2,\"size\":32,\"content\":\"{\\\"smallItem\\\":0.5762087840179821}\"}],\"maxSize\":35,\"maxRps\":101,\"count\":931,\"dur\":5286 ,\" pendingDur\":4675,\"updateDur\":611},\"system\":{\"batteryLevel\":100,\"benchmarkLevel\":-1,\"brand\":\"devtools\",\"memorySize\":2048,\"model\":\"iPhone 12/13 (Pro)\",\"system\":\"iOS 10.0.1\",\"platform\":\"devtools\",\"pixelRatio\":3,\"safeArea\":{\"top\":47,\"left\":0,\"right\":390,\"bottom\":810,\"width \" :390,\"height\":763},\"screenWidth\":\"390\",\"screenHeight\":\"844\",\"screenTop\":173,\"windowWidth\":\"390\",\"windowHeight\":\"671 \",\" statusBarHeight\":47,\"version\":\"8.0.5\",\"language\":\"zh_CN\",\"SDKVersion\":\"3.6.0\",\"enableDebug\":false,\"fontSizeScaleFactor\":1,\"fontSizeSetting\":16,\"mode \" :\"default\",\"host\":{\"env\":\"WeChat\"},\"bluetoothEnabled\":true,\"locationEnabled\":true,\"wifiEnabled\":true,\"locationReducedAccuracy\":true,\"albumAuthorized\":true ,\" bluetoothAuthorized\":true,\"cameraAuthorized\":true,\"locationAuthorized\":true,\"microphoneAuthorized\":true,\"notificationAuthorized\":true,\"notificationAlertAuthorized\":true,\"notificationBadgeAuthorized\":true,\"notificationSoundAuthorized\":true,\"phoneCalendarAuthorized \": true,\"deviceOrientation\":\"portrait\",\"devicePixelRatio\":3,\"deviceId\":47460,\"deviceTypeId\":152680},\"metric\":{\"originalFirstLoad\":5305,\"jsError\":false,\"netError \": false,\"stuck\":false,\"firstLoad\":5305},\"setData\":null,\"v\":\"1.6.0\",\"routeTrack\":[{\"timestamp\":1742365466800,\"route\":\"pages/cptest/cptest\"} {\"timestamp\":1742365471566,\"route\":\"pages/index/index\"}],\"pageEvent\":{\"onLoad\":1742365471566,\"onShow\":1742365471580,\"onReady\":1742365471769,\"onHide\":1742365553050,\"onUnload \": 0},\"ua\":\"Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Mobile/15E148 Safari/604.1 wechatdevtools/1.06.2412050 MicroMessenger/8.0.5 Language/zh_CN webview/\",\"key\":\"7OmILag6rl4\"}"
}
]
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
Status Code 200
Name | Type | Required | Constraints | Chinese name | Description |
---|---|---|---|---|---|
» traceId | string | false | none | none | |
» traceData | string | false | none | none |
Custom Load Time Exceeds Threshold
POST /adhoc/query
Body request parameter
{
"datasource": "MP_PAGE_TRACE ",
"timePeriod": 10080
"endTime ": "",
"metrics": []
"dimensions ": [
"timestamp ",
"userId ",
"sessionId ",
"ip ",
"countryId ",
"regionId ",
"cityId ",
"countyId ",
"carrierId ",
"connectType ",
"wechatVersion ",
"system ",
"deviceType ",
"customTimingDur ",
"firstHttpResponse ",
"onReadyDur"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "slowCustomTimingCount ",
"value ": [
0
],
"operator": ">"
}
],
"groupBy": false
"orderByExprs": "timestamp desc ",
"limit": 10
"render": "object"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
200 Response
{}
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
There is Caton
POST /adhoc/query
Body request parameter
{
"datasource": "MP_PAGE_TRACE ",
"timePeriod": 10080
"endTime ": "",
"metrics": []
"dimensions ": [
"timestamp ",
"userId ",
"sessionId ",
"ip ",
"countryId ",
"regionId ",
"cityId ",
"countyId ",
"carrierId ",
"connectType ",
"wechatVersion ",
"system ",
"deviceType ",
"customTimingDur ",
"firstHttpResponse ",
"onReadyDur"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "stuckCount ",
"value ": [
0
],
"operator": ">"
}
],
"groupBy": false
"orderByExprs": "timestamp desc ",
"limit": 10
"render": "object"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
200 Response
{}
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
JS error exists
POST /adhoc/query
Body request parameter
{
"datasource": "MP_PAGE_TRACE ",
"timePeriod": 10080
"endTime ": "",
"metrics": []
"dimensions ": [
"timestamp ",
"userId ",
"sessionId ",
"ip ",
"countryId ",
"regionId ",
"cityId ",
"countyId ",
"carrierId ",
"connectType ",
"wechatVersion ",
"system ",
"deviceType ",
"customTimingDur ",
"firstHttpResponse ",
"onReadyDur"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "jsErrorCount ",
"value ": [
0
],
"operator": ">"
}
],
"groupBy": false
"orderByExprs": "timestamp desc ",
"limit": 10
"render": "object"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
[
{
"deviceType": "iPhone 12/13 (Pro) ",
"customTimingDur": 0
"connectType": "wifi ",
"ip": "114.242.217.98 ",
"regionName": "Beijing ",
"onReadyDur": 0
"sessionId": "31f5f4d1-358d-406a-988c-9642c42e193a ",
"cityId": 481101
"userId": "testUser ",
"countryId": 48
"system": "iOS 10.0.1 ",
"cityName": "Beijing ",
"carrierName": "China Unicom ",
"regionId": 4811
"countyId": 48110105
"wechatVersion": "8.0.5 ",
"countryName": "China ",
"carrierId": 16
"timestamp": 1742365184000
"countyName": "Chaoyang District"
}
]
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
Status Code 200
Name | Type | Required | Constraints | Chinese name | Description |
---|---|---|---|---|---|
» deviceType | string | true | none | none | |
» customTimingDur | integer | true | none | none | |
» connectType | string | true | none | none | |
» ip | string | true | none | none | |
» regionName | string | true | none | none | |
» onReadyDur | integer | true | none | none | |
» sessionId | string | true | none | none | |
» cityId | integer | true | none | none | |
» userId | string | true | none | none | |
» countryId | integer | true | none | none | |
» system | string | true | none | none | |
» cityName | string | true | none | none | |
» carrierName | string | true | none | none | |
» regionId | integer | true | none | none | |
» countyId | integer | true | none | none | |
» wechatVersion | string | true | none | none | |
» countryName | string | true | none | none | |
» carrierId | integer | true | none | none | |
» timestamp | integer | true | none | none | |
» countyName | string | true | none | none |
Network error exists
POST /adhoc/query
Body request parameter
{
"datasource": "MP_PAGE_TRACE ",
"timePeriod": 10080
"endTime ": "",
"metrics": []
"dimensions ": [
"timestamp ",
"userId ",
"sessionId ",
"ip ",
"countryId ",
"regionId ",
"cityId ",
"countyId ",
"carrierId ",
"connectType ",
"wechatVersion ",
"system ",
"deviceType ",
"customTimingDur ",
"firstHttpResponse ",
"onReadyDur"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "pageNetErrorCount ",
"value ": [
0
],
"operator": ">"
}
],
"groupBy": false
"orderByExprs": "timestamp desc ",
"limit": 10
"render": "object"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
[
{
"deviceType": "iPhone 12/13 (Pro) ",
"customTimingDur": 0
"connectType": "wifi ",
"ip": "114.242.217.98 ",
"regionName": "Beijing ",
"onReadyDur": 155
"sessionId": "31f5f4d1-358d-406a-988c-9642c42e193a ",
"cityId": 481101
"userId": "testUser ",
"countryId": 48
"system": "iOS 10.0.1 ",
"cityName": "Beijing ",
"carrierName": "China Unicom ",
"regionId": 4811
"countyId": 48110105
"wechatVersion": "8.0.5 ",
"countryName": "China ",
"carrierId": 16
"timestamp": 1742364955000
"countyName": "Chaoyang District"
}
]
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
Return data structure
Status Code 200
Name | Type | Required | Constraints | Chinese name | Description |
---|---|---|---|---|---|
» deviceType | string | true | none | none | |
» customTimingDur | integer | true | none | none | |
» connectType | string | true | none | none | |
» ip | string | true | none | none | |
» regionName | string | true | none | none | |
» onReadyDur | integer | true | none | none | |
» sessionId | string | true | none | none | |
» cityId | integer | true | none | none | |
» userId | string | true | none | none | |
» countryId | integer | true | none | none | |
» system | string | true | none | none | |
» cityName | string | true | none | none | |
» carrierName | string | true | none | none | |
» regionId | integer | true | none | none | |
» countyId | integer | true | none | none | |
» wechatVersion | string | true | none | none | |
» countryName | string | true | none | none | |
» carrierId | integer | true | none | none | |
» timestamp | integer | true | none | none | |
» countyName | string | true | none | none |
Slow loading
POST /adhoc/query
Body request parameter
{
"datasource": "MP_PAGE_TRACE ",
"timePeriod": 10080
"endTime ": "",
"metrics": []
"dimensions ": [
"timestamp ",
"userId ",
"sessionId ",
"ip ",
"countryId ",
"regionId ",
"cityId ",
"countyId ",
"carrierId ",
"connectType ",
"wechatVersion ",
"system ",
"deviceType ",
"customTimingDur ",
"firstHttpResponse ",
"onReadyDur"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "slowCount ",
"value ": [
0
],
"operator": ">"
}
],
"groupBy": false
"orderByExprs": "timestamp desc ",
"limit": 10
"render": "object"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
[
{
"deviceType": "iPhone 12/13 (Pro) ",
"customTimingDur": 0
"connectType": "wifi ",
"ip": "114.242.217.98 ",
"regionName": "Beijing ",
"onReadyDur": 155
"sessionId": "31f5f4d1-358d-406a-988c-9642c42e193a ",
"cityId": 481101
"userId": "testUser ",
"countryId": 48
"system": "iOS 10.0.1 ",
"cityName": "Beijing ",
"carrierName": "China Unicom ",
"regionId": 4811
"countyId": 48110105
"wechatVersion": "8.0.5 ",
"countryName": "China ",
"carrierId": 16
"timestamp": 1742364955000
"countyName": "Chaoyang District"
}
]
Return Results
Status Code | Meaning of status code | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |