跳到主要内容

用户追踪

1. 卡顿列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

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

Query params:

KeyValue
labelanrData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "app_anr",
"dimensions": [
"id",
"timestamp",
"timestampAnr",
"mobileAnrId",
"userId",
"mobileAppVersionId",
"manufacturerId",
"manufacturerModelId",
"osId",
"osVersionId",
"connectTypeId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 1000,
"orderByExprs": "timestampAnr desc",
"groupBy": false
}

2. 启动列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

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

Query params:

KeyValue
labelactionData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "app_ux_action",
"metrics": [
"durationTime",
"blockTime",
"actionRequestErrorCount"
],
"dimensions": [
"id",
"timestamp",
"userId",
"mobileAppVersionId",
"manufacturerId",
"manufacturerModelId",
"actionId",
"osId",
"osVersionId",
"countryId",
"regionId",
"cityId",
"carrierId",
"connectTypeId",
"traceType"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 1000,
"orderByExprs": "timestamp desc",
"groupBy": false
}

3. 崩溃列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

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

Query params:

KeyValue
labelcrashData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "app_crash",
"dimensions": [
"id",
"timestamp",
"timestampCrash",
"mobileCrashId",
"message",
"userId",
"mobileAppVersionId",
"manufacturerId",
"manufacturerModelId",
"osId",
"osVersionId",
"connectTypeId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 1000,
"orderByExprs": "timestampCrash desc",
"groupBy": false
}

4. 异常启动列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

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

Query params:

KeyValue
labellaunchData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "app_ux_launch",
"metrics": [
"launchStartupTime"
],
"dimensions": [
"id",
"timestamp",
"launchType",
"userId",
"mobileAppVersionId",
"manufacturerId",
"manufacturerModelId",
"osId",
"osVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 1000,
"orderByExprs": "timestamp desc",
"groupBy": false
}

5. 慢请求列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

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

Query params:

KeyValue
labelslowRequestData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "app_network_request",
"metrics": [
"responseTimeRaw",
"localQueueTimeRaw",
"dnsTimeRaw",
"connectTimeRaw",
"sslTimeRaw",
"firstPacketTimeRaw",
"remainPacketTimeRaw",
"bytesSend",
"bytesReceived",
"pingTime",
"packetLossRate"
],
"dimensions": [
"id",
"timestamp",
"mobileBusinessId",
"mobileAppId",
"mobileAppVersionId",
"manufacturerId",
"manufacturerModelId",
"osId",
"osVersionId",
"agentVersionId",
"channelId",
"countryId",
"regionId",
"cityId",
"carrierId",
"connectTypeId",
"hostCountryId",
"hostRegionId",
"hostCityId",
"hostCarrierId",
"hostId",
"uriId",
"cdnId",
"errorType",
"errorCode",
"launchType",
"slowRequest",
"traceData",
"requestUrl",
"requestType",
"ip",
"hostIp",
"deviceId",
"protocolType",
"userId",
"serverApplicationId",
"serverInstanceId",
"serverTransactionGuid",
"bytesType",
"hostIpType",
"serverBusinessId",
"httpData",
"dnsIp",
"keyUrlId",
"keyUrlGroupId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "slowRequest",
"value": [
true
],
"operator": "="
}
],
"render": "list",
"limit": 1000,
"orderByExprs": "timestamp desc",
"groupBy": false
}

6. 自定义错误列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

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

Query params:

KeyValue
labelerrorData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "app_error",
"dimensions": [
"id",
"timestamp",
"errorMessage",
"mobileErrorId",
"userId",
"mobileAppVersionId",
"manufacturerId",
"manufacturerModelId",
"osId",
"osVersionId",
"connectTypeId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 1000,
"orderByExprs": "timestamp desc",
"groupBy": false
}

7. 错误请求列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

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

Query params:

KeyValue
labelrequestErrorData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "app_network_error",
"metrics": [
"pingTime",
"packetLossRate"
],
"dimensions": [
"id",
"timestamp",
"userId",
"requestUrl",
"errorCode",
"hostIp",
"cdnId",
"manufacturerId",
"manufacturerModelId",
"mobileAppVersionId",
"osId",
"osVersionId",
"countryId",
"regionId",
"cityId",
"carrierId",
"connectTypeId",
"dnsIp"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list",
"limit": 1000,
"orderByExprs": "timestamp desc",
"groupBy": false
}

8. 页面列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

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

Query params:

KeyValue
labelpageData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "app_ux_view",
"metrics": [
"interactiveTime",
"appearTime"
],
"dimensions": [
"id",
"timestamp",
"userId",
"mobileAppVersionId",
"manufacturerId",
"manufacturerModelId",
"viewCompositeId",
"osId",
"osVersionId",
"countryId",
"regionId",
"cityId",
"carrierId",
"connectTypeId",
"traceType"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "viewType",
"value": [
3
],
"operator": "IN"
}
],
"render": "list",
"limit": 1000,
"orderByExprs": "timestamp desc",
"groupBy": false
}