JS error
JS error Trace
POST /adhoc/query
Body request parameter
{
"datasource": "MP_JSERROR_TRACE ",
"timePeriod": 360
"endTime ": "",
"dimensions ": [
"timestamp ",
"traceId ",
"path ",
"userId ",
"sessionId ",
"ip ",
"countryId ",
"regionId ",
"cityId ",
"countyId ",
"carrierId ",
"connectType ",
"wechatVersion ",
"system ",
"deviceType"
],
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
}
],
"orderByExprs": "timestamp desc ",
"limit": 10
"render": "list"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
[
{
"traceId": "647cd754a3914f7fb223977d008af592 ",
"deviceType": "iPhone 12/13 (Pro) ",
"connectType": "wifi ",
"regionName": "Beijing ",
"pathFocus": true
"sessionId": "31f5f4d1-358d-406a-988c-9642c42e193a ",
"cityId": 481101
"userId": "testUser ",
"countryId": 48
"path": "/pages/index/index ",
"system": "iOS 10.0.1 ",
"cityName": "Beijing ",
"carrierName": "China Unicom ",
"regionId": 4811
"countyId": 48110105
"wechatVersion": "8.0.5 ",
"countryName": "China ",
"carrierId": 16
"timestamp": 1742365298000
"pathAlias ": "",
"countyName": "Chaoyang District"
},
{
"traceId": "c16c792eb9654bf381d99ff242a2a72b ",
"deviceType": "iPhone 12/13 (Pro) ",
"connectType": "wifi ",
"regionName": "Beijing ",
"pathFocus": true
"sessionId": "31f5f4d1-358d-406a-988c-9642c42e193a ",
"cityId": 481101
"userId": "testUser ",
"countryId": 48
"path": "/pages/index/index ",
"system": "iOS 10.0.1 ",
"cityName": "Beijing ",
"carrierName": "China Unicom ",
"regionId": 4811
"countyId": 48110105
"wechatVersion": "8.0.5 ",
"countryName": "China ",
"carrierId": 16
"timestamp": 1742365184000
"pathAlias ": "",
"countyName": "Chaoyang District"
},
{
"traceId": "286d4aad4f82420699551c3c40c18309 ",
"deviceType": "iPhone 12/13 (Pro) ",
"connectType": "wifi ",
"regionName": "Beijing ",
"pathFocus": true
"sessionId": "31f5f4d1-358d-406a-988c-9642c42e193a ",
"cityId": 481101
"userId": "testUser ",
"countryId": 48
"path": "/pages/cptest/cptest ",
"system": "iOS 10.0.1 ",
"cityName": "Beijing ",
"carrierName": "China Unicom ",
"regionId": 4811
"countyId": 48110105
"wechatVersion": "8.0.5 ",
"countryName": "China ",
"carrierId": 16
"timestamp": 1742365179000
"pathAlias ": "",
"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 |
---|---|---|---|---|---|
» traceId | string | true | none | none | |
» deviceType | string | true | none | none | |
» connectType | string | true | none | none | |
» regionName | string | true | none | none | |
» pathFocus | boolean | true | none | none | |
» sessionId | string | true | none | none | |
» cityId | integer | $Forced | none | none | |
» userId | string | true | none | none | |
» countryId | integer | true | none | none | |
» path | string | 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 | |
» pathAlias | string | true | none | none | |
» countyName | string | true | none | none |
JS error trace details
POST /abnormal/error/trace
Body request parameter
{
"timePeriod": 360
"endTime ": "",
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
}
],
"datasource": "MP_JSERROR_TRACE ",
"metrics": []
"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 ": {
"mpId": 10
"mpName": null
"uid": "testUser ",
"sid": "31f5f4d1-358d-406a-988c-9642c42e193a ",
"userId": "testUser ",
"sessionId": "31f5f4d1-358d-406a-988c-9642c42e193a ",
"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 ",
"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 /",
"networkType": "wifi ",
"connectType": "wifi ",
"screenHeight": "844 ",
"screenWidth": "390 ",
"traceId": "647cd754a3914f7fb223977d008af592 ",
"timestamp": "2025-03-19 14:21:38 ",
"path": "/pages/index/index ",
"width": "390 ",
"height": "671 ",
"time": "2025-03-19 14:21:36 ",
"msg": "Cannot read property 'trackEvent' of undefined ",
"filename": null
$Forced
"lineno": 49
"colno": 17
"stack": "MiniProgramError\nCannot read property 'trackEvent' of undefined\nTypeError: Cannot read property 'trackEvent' of undefined\n at Oi.setDataOnce (http://127.0.0.1:52238/appservice/pages/index/index.js:49:17)\n at Oi.setDataOnce (http://127.0.0.1:36065/appservice/agent/mp_agent_1.6.0.js:837:16)\n at Object.o.safeCallback (http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:208673)\n at http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:430879\n at Fn (http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:365041)\n at http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:430794\n at ge (http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:306790)\n at ve (http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:306529)\n at http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:307363\n at http://127.0.0.1:63494/appservice/__dev__/WAServiceMainContext.js? t=wechat&s=1742364796562&v=3.6.0:1:659527 ",
"trace ": {
"colno": 17
"filename": "index.js ",
"msg": null
"stack": "MiniProgramError\nCannot read property 'trackEvent' of undefined\nTypeError: Cannot read property 'trackEvent' of undefined\n at Oi.setDataOnce (http://127.0.0.1:52238/appservice/pages/index/index.js:49:17)\n at Oi.setDataOnce (http://127.0.0.1:36065/appservice/agent/mp_agent_1.6.0.js:837:16)\n at Object.o.safeCallback (http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:208673)\n at http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:430879\n at Fn (http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:365041)\n at http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:430794\n at ge (http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:306790)\n at ve (http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:306529)\n at http://127.0.0.1:63494/appservice/__dev__/WASubContext.js? t=wechat&s=1742364796562&v=3.6.0:1:307363\n at http://127.0.0.1:63494/appservice/__dev__/WAServiceMainContext.js? t=wechat&s=1742364796562&v=3.6.0:1:659527 ",
"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 /",
"lineno": 49
"time": 1742365296567
"onShow": null
"onUnload": null
"jsFilePath": "http://127.0.0.1:52238/appservice/pages/index/index.js ",
"screenHeight": "844 ",
"screenWidth": "390 ",
"windowHeight": "671 ",
"windowWidth": "390 ",
"sdkVersion": "3.6.0"
}
},
"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 | |
»» mpId | integer | true | none | none | |
»» mpName | null | 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 | $Forced | 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 | |
»» ua | string | true | none | none | |
»» networkType | string | true | none | none | |
»» connectType | string | true | none | none | |
»» screenHeight | string | true | none | none | |
»» screenWidth | string | true | none | none | |
»» traceId | string | true | none | none | |
»» timestamp | string | true | none | none | |
»» path | string | true | none | none | |
»» width | string | true | none | none | |
»» height | string | true | none | none | |
»» time | string | true | none | none | |
»» msg | string | true | none | none | |
»» filename | null | true | none | none | |
»» errorFilename | null | true | none | none | |
»» lineno | integer | true | none | none | |
»» colno | integer | true | none | none | |
»» stack | string | true | none | none | |
»» trace | object | true | none | none | |
»»» colno | integer | true | none | none | |
»»» filename | string | true | none | none | |
»»» msg | null | true | none | none | |
»»» stack | string | true | none | none | |
»»» ua | string | true | none | none | |
»»» lineno | integer | true | none | none | |
»»» time | integer | true | none | $Forced | |
»»» onShow | null | true | none | none | |
»»» onUnload | null | true | none | none | |
»»» jsFilePath | string | true | none | none | |
»»» screenHeight | string | true | none | none | |
»»» screenWidth | string | true | none | none | |
»»» windowHeight | string | true | none | none | |
»»» windowWidth | string | true | none | none | |
»»» sdkVersion | string | true | none | none | |
» status | integer | true | none | none |
sourcemap parsing
POST /sourcemap/release/mp/parse
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
traceId | query | array [string] | No | none |
mpId | query | string | No | none |
errorFileStack | query | string | No | none |
releaseName | query | string | No | none |
stack | query | string | No | none |
lang | query | string | No | none |
Return Example
{
"code": 200
"msg": "success ",
"data ": {
"parseData ": {
"stackIndex": 9999
"stack": "http://127.0.0.1:39601/appservice/pages/index/index.js:898:24 ",
"sourcemapId": 84462
"lineNo": 898
"colNo": 24
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
"stackLines ": [
{
"stackIndex": 0
"stack": "MiniProgramError ",
"sourcemapId": 0
"lineNo": 0
"colNo": 0
"sourceFile": null
"identifierName": null
"sourceLines": null
"info": null
"extendMap": null
},
{
"stackIndex": 1
"stack": "_mp_agent_.default.captureException is not a function ",
"sourcemapId": 0
"lineNo": 0
"colNo": 0
"sourceFile": null
"identifierName": null
"sourceLines": null
"info": null
"extendMap": null
},
{
"stackIndex": 2
"stack": "TypeError: _mp_agent_.default.captureException is not a function ",
"sourcemapId": 0
"lineNo": 0
"colNo": 0
"sourceFile": null
"identifierName": null
"sourceLines": null
"info": null
"extendMap": null
},
{
"stackIndex": 3
"stack": "at vi.triggerCaptureException (http://127.0.0.1:39601/appservice/pages/index/index.js:898:24) ",
"sourcemapId": 84462
"lineNo": 898
"colNo": 24
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 4
"stack": "at vi.triggerCaptureException (http://127.0.0.1:39601/appservice/agent/mp_agent_1.4.1.js:814:16) ",
"sourcemapId": 84462
"lineNo": 814
"colNo": 16
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 5
"stack": "at Object.o.safeCallback (http://127.0.0.1:39601/appservice/__dev__/WASubContext.js? t=wechat&s=1713245875120&v=3.3.2:1:207592) ",
"sourcemapId": 84462
"lineNo": 1
"colNo": 207592
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 6
"stack": "at http://127.0.0.1:39601/appservice/__dev__/WASubContext.js? t=wechat&s=1713245875120&v=3.3.2:1:418857 ",
"sourcemapId": 84462
"lineNo": 1
"colNo": 418857
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"FilePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 7
"stack": "at kn (http://127.0.0.1:39601/appservice/__dev__/WASubContext.js? t=wechat&s=1713245875120&v=3.3.2:1:354482) ",
"sourcemapId": 84462
"lineNo": 1
"colNo": 354482
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 8
"stack": "at http://127.0.0.1:39601/appservice/__dev__/WASubContext.js? t=wechat&s=1713245875120&v=3.3.2:1:418778 ",
"sourcemapId": 84462
"lineNo": 1
"colNo": 418778
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 9
"stack": "at he (http://127.0.0.1:39601/appservice/__dev__/WASubContext.js? t=wechat&s=1713245875120&v=3.3.2:1:296737) ",
"sourcemapId": 84462
"lineNo": 1
"colNo": 296737
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 10
"stack": "at _e (http://127.0.0.1:39601/appservice/__dev__/WASubContext.js? t=wechat&s=1713245875120&v=3.3.2:1:296476) ",
"sourcemapId": 84462
"lineNo": 1
"colNo": 296476
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 11
"stack": "at http://127.0.0.1:39601/appservice/__dev__/WASubContext.js? t=wechat&s=1713245875120&v=3.3.2:1:297310 ",
"sourcemapId": 84462
"lineNo": 1
"colNo": 297310
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
},
{
"stackIndex": 12
"stack": "at http://127.0.0.1:39601/appservice/__dev__/WAServiceMainContext.js? t=wechat&s=1713245875120&v=3.3.2:1:633170 ",
"sourcemapId": 84462
"lineNo": 1
"colNo": 633170
"sourceFile": null
"identifierName": null
"sourceLines": []
"info": null
"extendMap ": {
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map"
}
}
]
}
}
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 | |
»» parseData | object | true | none | none | |
»»» stackIndex | integer | true | none | none | |
»»» stack | string | true | none | none | |
»»» sourcemapId | integer | true | None | none | |
»»» lineNo | integer | true | none | none | |
»»» colNo | integer | true | none | none | |
»»» sourceFile | null | true | none | none | |
»»» identifierName | null | true | none | none | |
»»» sourceLines | [string] | true | none | none | |
»»» info | null | true | none | none | |
»»» extendMap | object | true | none | none | |
»»»» filePath | string | true | none | none | |
»» stackLines | [object] | true | none | none | |
»»» stackIndex | integer | true | none | none | |
»»» stack | string | true | none | none | |
»»» sourcemapId | integer | true | none | none | |
»»» lineNo | integer | true | none | none | |
»»» colNo | integer | true | none | none | |
»»» sourceFile | null | true | none | none | |
»»» identifierName | null | true | none | none | |
»»» sourceLines | [string] | true | none | none | |
»»» info | null | true | none | none | |
»»» extendMap | object | true | none | none | |
»»»» filePath | string | true | none | none |
JS error type table
POST /adhoc/query
Body request parameter
{
"timePeriod": 360
"endTime ": "",
"filters ": [
{
"name": "errorType ",
"operator ": "! = ",
"value ": [
""
]
},
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
}
],
"datasource": "BRS_WECHAT_APPLET ",
"dimensions ": [
"errorType"
],
"metrics ": [
"jsErrRate ",
"msgErrPV"
],
"render": "object"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
[
{
"errorType": "MiniProgramError ",
"msgErrPV ": {
"format": "15 ",
"label": "JS error counts ",
"unit ": "",
"value": 15
},
"jsErrRate ": {
"format": "0 ",
"label": "JS Error Percent ",
"unit": "% ",
"value": 0
}
}
]
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 |
---|---|---|---|---|---|
» errorType | string | false | none | none | |
» msgErrPV | object | false | none | none | |
»» format | string | true | none | none | |
»» label | string | true | none | none | |
»» unit | string | true | none | none | |
»» value | integer | true | none | none | |
» jsErrRate | object | false | none | none | |
»» format | string | true | none | none | |
»» label | string | true | none | none | |
»» unit | string | true | none | none | |
»» value | integer | true | none | none |
JS error rate trend chart
POST /adhoc/query
Body request parameter
{
"timePeriod": 360
"endTime ": "",
"filters ": [
{
"name": "mpId ",
"value ": [
10
],
"operator": "IN"
}
],
"datasource": "BRS_WECHAT_APPLET ",
"dimensions ": [
"timeStr"
],
"metrics ": [
"jsErrRate ",
"msgErrPV"
],
"render": "chart"
}
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | none |
Return Example
{
"series ": [
{
"data ": [
{
"x": 1734537600000
"tooltip ": {
"data ": [
{
"unit": "% ",
"title": "JS Error Percent ",
"value": 0
},
{
"unit ": "",
"title": "JS error counts ",
"value": 0
}
],
"title": "12-19 00:00--12-20 00:00"
},
"y": 0
}
],
"metricKey": "jsErrRate ",
"name": "JS Error Percent ",
"showInLegend": true
"type": "line ",
"unit": "% ",
"yAxis": 0
"zIndex": 1
},
{
"data ": [
{
"x": 1734537600000
"tooltip ": {
"data ": [
{
"unit": "% ",
"title": "JS Error Percent ",
"value": 0
},
{
"unit ": "",
"title": "JS error counts ",
"value": 0
}
],
"title": "12-19 00:00--12-20 00:00"
},
"y": 0
}
],
"metricKey": "msgErrPV ",
"name": "JS error counts ",
"showInLegend": true
"type": "column ",
"unit ": "",
"yAxis": 1
"zIndex": 1
}
],
"summary ": [
{
"timeStr": 0
"msgErrPV ": {
"format": "15 ",
"label": "JS error counts ",
"unit ": "",
"value": 15
},
"jsErrRate ": {
"format": "55.56 ",
"label": "JS Error Percent ",
"unit": "% ",
"value": 55.556
}
}
],
"yAxis ": [
{
"i18n": "unit.percent ",
"opposite": false
"tickUnit": "%"
},
{
"i18n": "unit.count ",
"opposite": true
"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 | [object] | true | none | none | |
»» timeStr | integer | false | none | none | |
»» msgErrPV | object | false | none | none | |
»»» format | string | true | none | none | |
»»» label | string | true | none | none | |
»»» unit | string | true | none | none | |
»»» value | integer | true | none | none | |
»» jsErrRate | object | false | none | none | |
»»» format | String | true | none | none | |
»»» label | string | true | none | none | |
»»» unit | string | true | none | none | |
»»» value | number | true | none | none | |
» yAxis | [object] | true | none | none | |
»» i18n | string | true | none | none | |
»» opposite | boolean | true | none | none | |
»» tickUnit | string | true | none | none |