版本分布
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 | versionTrendData | 
Body:
{
    "timePeriod": {{timePeriod}},
    "endTime": {{endTime}},
    "datasource": "APP_DEVICE_DATA",
    "metrics": [
        "launchCount"
    ],
    "dimensions": [
        "timeStr",
        "mobileAppVersionId"
    ],
    "filters": [
        {
            "name": "mobileAppId",
            "value": [
                {{mobileAppId}}
            ],
            "operator": "IN"
        },
        {
            "name": "dataType",
            "value": [
                2
            ],
            "operator": "="
        }
    ],
    "render": "list",
    "top": {
        "dimensions": [
            "mobileAppVersionId"
        ],
        "metric": "launchCount",
        "direction": "desc",
        "limit": 5
    }
}
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 | versionTrendData | 
Body:
{
    "timePeriod": {{timePeriod}},
    "endTime": {{endTime}},
    "datasource": "APP_DEVICE_DATA",
    "metrics": [
        "deviceCount"
    ],
    "dimensions": [
        "timeStr",
        "mobileAppVersionId"
    ],
    "filters": [
        {
            "name": "mobileAppId",
            "value": [
                {{mobileAppId}}
            ],
            "operator": "IN"
        },
        {
            "name": "dataType",
            "value": [
                2
            ],
            "operator": "="
        }
    ],
    "render": "list",
    "top": {
        "dimensions": [
            "mobileAppVersionId"
        ],
        "metric": "deviceCount",
        "direction": "desc",
        "limit": 5
    }
}
3. 版本性能列表
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/overview/performance-list-version
Headers:
| Key | Value | 
|---|---|
| Accept | application/json, text/plain, / | 
| Content-Type | application/json | 
Body:
{
    "timePeriod": {{timePeriod}},
    "endTime": {{endTime}},
    "datasource": "APP_DEVICE_DATA",
    "filters": [
        {
            "name": "mobileAppId",
            "value": [
                {{mobileAppId}}
            ],
            "operator": "IN"
        }
    ],
    "render": "list"
}