获取自定义维度keys。
ServiceName: apmplus_openapi
Region: cn-beijing
X-App-Ids: xxx
Content-Type: application/json
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetAppCustomTagKeys | 接口名称。当前 API 的名称为 GetAppCustomTagKeys 。 |
Version | String | 是 | 2022-10-12 | 接口版本。当前 API 的版本为 2022-10-12 。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
aid | Integer | 否 | 123456 | 应用ID。 |
start_time | Integer | 是 | 1665417600 | 开始时间。 |
end_time | Integer | 是 | 1665504000 | 终止时间。 |
biz_type | String | 是 |
| 指标类型。
|
limit | Integer | 否 | 100 | 返回的数据条数,默认100。 |
filters | Object of Condition | 否 | - | 筛选条件,可以指定多个键值对来筛选数据。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
op | String | 否 |
| 操作符。
|
type | String | 否 |
| 筛选条件类型。
|
value | String | 否 | Android | 筛选值。 |
values | Array of String | 否 | ["Android"] | 筛选值,支持多个。 |
map_key | String | 否 | key_1 | map类型key,当type为map时必填。 |
dimension | String | 否 | aid | 条件的名称。 |
sub_conditions | Array of Condition | 否 | - | 子条件。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Array of TagKey | [{"label":"third_id", "value":"3ffffs"}] | 返回的key数据,最多100条。 |
error_msg | String | success | 错误信息。 |
error_no | Integer | 0 | 错误码。成功为0。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
label | String | third_id | 字段值。 |
value | String | 3ffffs | 字段值显示名称。 |
POST https://open.volcengineapi.com?Action=GetAppCustomTagKeys&Version=2022-10-12
{
"aid": 12345,
"biz_type": "crash",
"limit": 100,
"start_time": 1721012400,
"end_time": 1721098907,
"filters": {
"type": "and",
"sub_conditions": [
{
"dimension": "os",
"op": "in",
"type": "expression",
"values": [
"Android"
]
}
]
}
}
{
"err_detail": "",
"data": [
{
"label": "鸿蒙系统",
"value": "is_harmony_os"
},
{
"label": "ANR归因",
"value": "anr_key"
},
{
"label": "FD数量大于1000",
"value": "fd_leak"
},
{
"label": "成功抓取到logcat",
"value": "has_logcat"
},
{
"label": "系统存储空间剩余",
"value": "inner_free"
},
{
"label": "内部存储空间剩余",
"value": "inner_free_real"
},
{
"label": "sdcard存储空间剩余",
"value": "sdcard_free"
},
{
"label": "是否64位设备",
"value": "is_64_devices"
},
{
"label": "是否64位apk",
"value": "is_64_runtime"
},
{
"label": "是否root设备",
"value": "is_root"
},
{
"label": "是否x86设备",
"value": "is_x86_devices"
},
{
"label": "Java堆内存占用过高(大于95%)",
"value": "java_heap_leak"
},
{
"label": "最近一次onResume的Activity",
"value": "last_resume_activity"
},
{
"label": "stm占用最高的线程",
"value": "max_stm_thread"
},
{
"label": "utm占用最高的线程",
"value": "max_utm_thread"
},
{
"label": "虚拟内存占用过高(32位2.8G / 64位3.8G)",
"value": "memory_leak"
},
{
"label": "Native堆内存占用过高(大于200M)",
"value": "native_heap_leak"
},
{
"label": "成功抓取到FD列表",
"value": "has_fds_file"
},
{
"label": "成功抓取到线程状态列表",
"value": "has_threads_file"
},
{
"label": "成功抓取到进程状态",
"value": "has_meminfo_file"
},
{
"label": "ANR reason",
"value": "anr_reason"
},
{
"label": "ANR tag",
"value": "anr_tag"
},
{
"label": "anr_cmsg_wall",
"value": "anr_cmsg_wall"
},
{
"label": "anr_replace_mainstack",
"value": "anr_replace_mainstack"
},
{
"label": "anr_step",
"value": "anr_step"
},
{
"label": "app_tag",
"value": "app_tag"
},
{
"label": "first_update_launch",
"value": "first_update_launch"
},
{
"label": "has_envinfo_file",
"value": "has_envinfo_file"
},
{
"label": "has_malloc_file",
"value": "has_malloc_file"
},
{
"label": "has_native_stack",
"value": "has_native_stack"
},
{
"label": "has_pthread_key_file",
"value": "has_pthread_key_file"
},
{
"label": "has_pthread_key_map_file",
"value": "has_pthread_key_map_file"
},
{
"label": "has_pthreads_file",
"value": "has_pthreads_file"
},
{
"label": "has_signal",
"value": "has_signal"
},
{
"label": "has_view_tree",
"value": "has_view_tree"
},
{
"label": "input_timeout_type",
"value": "input_timeout_type"
},
{
"label": "is_current_process",
"value": "is_current_process"
},
{
"label": "is_hm_os",
"value": "is_hm_os"
},
{
"label": "kernel_version",
"value": "kernel_version"
},
{
"label": "key",
"value": "key"
},
{
"label": "load_0",
"value": "load_0"
},
{
"label": "load_1",
"value": "load_1"
},
{
"label": "load_2",
"value": "load_2"
},
{
"label": "logcat_type",
"value": "logcat_type"
},
{
"label": "success_end_anrinfo",
"value": "success_end_anrinfo"
},
{
"label": "version_get_time",
"value": "version_get_time"
}
],
"error_msg": "",
"error_no": 0
}
本接口无特有的错误码。更多信息请参见错误码。