User Tracking
1. ANR list
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | anrData |
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. Startup list
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | actionData |
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. Crash list
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | crashData |
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. Abnormal startup list
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | launchData |
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. List of slow requests
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | slowRequestData |
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. Custom Error List
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | errorData |
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. List of bad requests
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | requestErrorData |
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. List of pages
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | pageData |
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
}