Skip to main content

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

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 CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» series[object]truenonenone
»» data[object]falsenonenone
»»» xintegertruenonenone
»»» tooltipobjecttruenonenone
»»»» data[object]truenonenone
»»»»» unitstringtruenonenone
»»»»» titlestringtruenonenone
»»»»» valueintegertruenonenone
»»»» titlestringtruenonenone
»»» yintegertruenonenone
»» metricKeystringfalsenonenone
»» namestringfalsenonenone
»» showInLegendbooleanfalsenonenone
»» typestringfalsenonenone
»» unitstringfalsenonenone
»» yAxisintegerfalsenonenone
»» zIndexintegerfalsenonenone
» summary[string]truenonenone
» yAxis[object]truenonenone
»» i18nstringfalsenonenone
»» oppositebooleanfalsenonenone
»» tickUnitstringfalsenonenone

Set Key Page Identification​

POST /page/set-keypage

Request Parameters​

NameLocationTypeRequiredDescription
mpIdquerystringNonone
pathquerystringNonone
statusquerystringNonone
langquerystringNonone

Return Example

{
"code": 200
"msg": "success ",
"data": null
"status": 200
}

Return Results​

Status CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» codeintegertruenonenone
» msgstringtruenonenone
» datanulltruenonenone
» statusintegertruenonenone

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

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 CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» series[object]truenonenone
»» data[object]truenonenone
»»» xintegertruenonenone
»»» tooltipobjecttruenonenone
»»»» data[object]truenonenone
»»»»» unitstringtruenonenone
»»»»» titlestringtruenonenone
»»»»» valueintegertruenonenone
»»»» titlestringtruenonenone
»»» yintegertruenonenone
»» metricKeystringtruenonenone
»» namestringtruenonenone
»» showInLegendbooleantruenonenone
»» typestringtruenonenone
»» unitstringtruenonenone
»» yAxisintegertruenonenone
»» zIndexintegertruenonenone
» summary[string]truenonenone
» yAxis[object]truenonenone
»» i18nstringtruenonenone
»» oppositebooleantruenonenone
»» tickUnitstringtruenonenone

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

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 CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» uvintegertruenonenone
» httpServerTimingDurAvgintegertruenonenone
» httpErrRatestringtruenonenone
» slowLoadPageRatestringtruenonenone
» pvintegertruenonenone
» pathFocusbooleantruenonenone
» loadDurAvgintegertruenonenone
» httpDurAvgintegertruenonenone
» onReadyDurAvgintegertruenonenone
» pathstringtruenonenone
» exceptionQuitRatestringtruenonenone
» onlineDurAvgintegertruenonenone
» jsErrRatestringtruenonenone
» stuckPageRatestringtruenonenone
» pathAliasstringtruenonenone

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​

NameLocationTypeRequiredDescription
traceIdquerystringNonone
bodybodyobjectNonone

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 CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» codeintegertruenonenone
» msgstringtruenonenone
» dataobjecttruenonenone
»» headerobjecttruenonenone
»»» traceTimestringtruenonenone
»»» pathstringtruenonenone
»»» userIdstringtruenonenone
»»» sessionIdstringtruenonenone
»»» widthstringtruenonenone
»»» heightstringtruenonenone
»»» systemstringtruenonenone
»»» deviceTypestringtruenonenone
»»» wechatVersionstringtruenonenone
»»» ipstringtruenonenone
»»» countryNamestringtruenonenone
»»» regionNamestringtruenonenone
»»» cityNamestringtruenonenone
»»» countyNamestringtruenonenone
»»» carrierNamestringtruenonenone
»»» networkTypestringtruenonenone
»»» firstResponseintegertruenonenone
»»» responseTimeintegertruenonenone
»»» applicationServerTimeintegertruenonenone
»»» onReadyintegertruenonenone
»»» customTimeintegertruenonenone
»»» uastringtruenonenone
»»» pageEventobjecttruenonenone
»»»» onHideintegertruenonenone
»»»» onLoadintegertruenonenone
»»»» onReadyintegertruenonenone
»»»» onShowintegertruenonenone
»»»» onUnloadintegertruenonenone
»»» routeTrack[object]truenonenone
»»»» timestampintegertruenonenone
»»»» routestringtruenonenone
»»» metricobjecttruenonenone
»»»» originalFirstLoadintegertruenonenone
»»»» jsErrorbooleantruenonenone
»»»» netErrorbooleantruenonenone
»»»» stuckbooleantruenonenone
»»»» firstLoadintegertruenonenone
»»» sdkVersionstringtruenonenone
»»» pageBeginTimeintegertruenonenone
»» waterFallobjecttruenonenone
»»» domains[string]truenonenone
»»» items[object]truenonenone
»»»» mpIdintegertruenonenone
»»»» uidstringtruenonenone
»»»» sidstringtruenonenone
»»»» userIdstringtruenonenone
»»»» sessionIdstringtruenonenone
»»»» ipstringtruenonenone
»»»» countryIdintegertruenonenone
»»»» regionIdintegertruenonenone
»»»» cityIdintegertruenonenone
»»»» countyIdintegertruenonenone
»»»» carrierIdintegertruenonenone
»»»» countryNamestringtruenonenone
»»»» regionNamestringtruenonenone
»»»» cityNamestringtruenonenone
»»»» countyNamestringtruenonenone
»»»» carrierNamestringtruenonenone
»»»» systemstringtruenonenone
»»»» deviceTypestringtruenonenone
»»»» wechatVersionstringtruenonenone
»»»» sdkVersionstringtruenonenone
»»»» vstringtruenonenone
»»»» releaseNamestringtruenonenone
»»»» networkTypestringtruenonenone
»»»» connectTypestringtruenonenone
»»»» screenHeightstringtruenonenone
»»»» screenWidthstringtruenonenone
»»»» timestampstringtruenonenone
»»»» namestringtruenonenone
»»»» timeOffsetintegertruenonenone
»»»» typestringtruenonenone
»»»» idstringtruenonenone
»»»» pathstringtruenonenone
»»»» tracebooleantruenonenone
»»»» hoststringtruenonenone
»»»» uristringtruenonenone
»»»» urlstringtruenonenone
»»»» httpCodestringtruenonenone
»»»» statusstringtruenonenone
»»»» serverTraceIdstringtruenonenone
»»»» applicationIdstringtruenonenone
»»»» instanceIdstringtruenonenone
»»»» serverIdstringtruenonenone
»»»» responseTimeintegertruenonenone
»»»» applicationServerTimeintegertruenonenone
»»»» bytesSentnumbertruenonenone
»»»» bytesReceivedintegertruenonenone
»»»» actionNamestringtruenonenone
»»»» startintegertruenonenone
»»»» endintegertruenonenone
»»»» netCountintegertruenonenone
»»»» callbackTimeintegertruenonenone
»»»» requestMethodstringtruenonenone
»»»» serverTracebooleantruenonenone
»»»» requestIdintegertruenonenone
»»»» serverTraceTimeintegertruenonenone
»»»» serverbooleantruenonenone
»»»» failMessagestringtruenonenone
»»»» requestHeadersstringtruenonenone
»»»» responseHeadersstringtruenonenone
»»»» requestBodystringtruenonenone
»»»» responseBodystringtruenonenone
»»»» compareValueintegertruenonenone
»»» timeSpanintegertruenonenone
»» newSetDataobjecttruenonenone
»»» traces[object]truenonenone
»»»» timestampintegertruenonenone
»»»» dataPathstringtruenonenone
»»»» durintegertruenonenone
»»»» pendingDurintegertruenonenone
»»»» updateDurintegertruenonenone
»»»» sizenumbertruenonenone
»»»» contentstringtruenonenone
»»» durintegertruenonenone
»»» updateDurintegertruenonenone
»»» pendingDurintegertruenonenone
»»» maxRpsintegertruenonenone
» statusintegertruenonenone

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

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 CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» traceIdstringfalsenonenone
» traceDatastringfalsenonenone

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

Return Example

200 Response

{}

Return Results​

Status CodeMeaning of status codeDescriptionData Model
200OKnoneInline

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

Return Example

200 Response

{}

Return Results​

Status CodeMeaning of status codeDescriptionData Model
200OKnoneInline

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

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 CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» deviceTypestringtruenonenone
» customTimingDurintegertruenonenone
» connectTypestringtruenonenone
» ipstringtruenonenone
» regionNamestringtruenonenone
» onReadyDurintegertruenonenone
» sessionIdstringtruenonenone
» cityIdintegertruenonenone
» userIdstringtruenonenone
» countryIdintegertruenonenone
» systemstringtruenonenone
» cityNamestringtruenonenone
» carrierNamestringtruenonenone
» regionIdintegertruenonenone
» countyIdintegertruenonenone
» wechatVersionstringtruenonenone
» countryNamestringtruenonenone
» carrierIdintegertruenonenone
» timestampintegertruenonenone
» countyNamestringtruenonenone

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

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 CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» deviceTypestringtruenonenone
» customTimingDurintegertruenonenone
» connectTypestringtruenonenone
» ipstringtruenonenone
» regionNamestringtruenonenone
» onReadyDurintegertruenonenone
» sessionIdstringtruenonenone
» cityIdintegertruenonenone
» userIdstringtruenonenone
» countryIdintegertruenonenone
» systemstringtruenonenone
» cityNamestringtruenonenone
» carrierNamestringtruenonenone
» regionIdintegertruenonenone
» countyIdintegertruenonenone
» wechatVersionstringtruenonenone
» countryNamestringtruenonenone
» carrierIdintegertruenonenone
» timestampintegertruenonenone
» countyNamestringtruenonenone

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​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

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 CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» deviceTypestringtruenonenone
» customTimingDurintegertruenonenone
» connectTypestringtruenonenone
» ipstringtruenonenone
» regionNamestringtruenonenone
» onReadyDurintegertruenonenone
» sessionIdstringtruenonenone
» cityIdintegertruenonenone
» userIdstringtruenonenone
» countryIdintegertruenonenone
» systemstringtruenonenone
» cityNamestringtruenonenone
» carrierNamestringtruenonenone
» regionIdintegertruenonenone
» countyIdintegertruenonenone
» wechatVersionstringtruenonenone
» countryNamestringtruenonenone
» carrierIdintegertruenonenone
» timestampintegertruenonenone
» countyNamestringtruenonenone

Page/page Trace/dimension analysis

Slow page-TOP device type​

POST /adhoc/query

Body request parameter

{
"datasource": "BRS_WECHAT_APPLET ",
"timePeriod": 360
"endTime": "2025-03-19 14:27 ",
"dimensions ": [
"deviceType"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "messageType ",
"value ": [
"PAGE"
],
"operator": "IN"
}
],
"metrics ": [
"slowLoadPV"
],
"orderByExprs": "slowLoadPV desc ",
"limit": 10
"render": "list"
}

Request Parameters​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

Return Example

[
{
"deviceType": "iPhone 12/13 (Pro) ",
"slowLoadPV": 13
}
]

Return Results​

Status CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» deviceTypestringfalsenonenone
» slowLoadPVintegerfalsenonenone

Slow Page-TOP WeChat Version​

POST /adhoc/query

Body request parameter

{
"datasource": "BRS_WECHAT_APPLET ",
"timePeriod": 360
"endTime": "2025-03-19 14:27 ",
"dimensions ": [
"wechatVersion"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
},
{
"name": "messageType ",
"value ": [
"PAGE"
],
"operator": "IN"
}
],
"metrics ": [
"slowLoadPV"
],
"orderByExprs": "slowLoadPV desc ",
"limit": 10
"render": "list"
}

Request Parameters​

NameLocationTypeRequiredDescription
bodybodyobjectNonone

Return Example

[
{
"slowLoadPV": 13
"wechatVersion": "8.0.5"
}
]

Return Results​

Status CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure​

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» slowLoadPVintegerfalsenonenone
» wechatVersionstringfalsenonenone