用户追踪

1. 卡顿列表

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. 启动列表

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. 崩溃列表

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. 异常启动列表

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. 慢请求列表

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. 自定义错误列表

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. 错误请求列表

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. 页面列表

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
}
© 2007-2024 北京基调网络股份有限公司 all right reserved,powered by Gitbook本文档更新于: 2023-11-07 10:58

results matching ""

    No results matching ""