跳到主要内容

错误分析

1. TOP5操作系统

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/exception/top-dimension/error

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Query params:

KeyValue
sortexception

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_EXCEPTION_DATA",
"dimensions": [
"osId",
"osVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 5
}

2. TOP5渠道

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/exception/top-dimension/error

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Query params:

KeyValue
sortexception

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_EXCEPTION_DATA",
"dimensions": [
"channelId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 5
}

3. TOP5版本

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/exception/top-dimension/error

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Query params:

KeyValue
sortexception

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_EXCEPTION_DATA",
"dimensions": [
"mobileAppVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 5
}

4. TOP5设备型号

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/exception/top-dimension/error

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Query params:

KeyValue
sortexception

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_EXCEPTION_DATA",
"dimensions": [
"manufacturerId",
"manufacturerModelId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 5
}

5. 错误-信息卡片

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/exception/error-rate

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_EXCEPTION_DATA",
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list"
}

6. 错误列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/exception/list-top

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Query params:

KeyValue
type3
status-1

Body:

{
"mobileAppId": {{mobileAppId}},
"type": "error",
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"agentType": 2,
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"datasource": "app_error",
"metrics": [
"exceptionCount",
"didCount",
"maxTime",
"minTime"
],
"dimensions": [
"mobileErrorId"
],
"orderByExprs": "exceptionCount desc",
"render": "list",
"limit": 1000
}