You need to enable JavaScript to run this app.
文档中心
应用性能监控全链路版

应用性能监控全链路版

复制全文
下载 pdf
通用
GetAppCustomTagKeys
复制全文
下载 pdf
GetAppCustomTagKeys
获取自定义维度keys。
请求说明
应用性能监控全链路版客户端监控已在全球多个地域部署服务,旨在为您提供更稳定、低延迟的访问体验。您可以通过查阅 服务地址 文档,根据业务所在地选择最合适的接入点。
  • 请求方式:POST
  • 请求地址:https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAppCustomTagKeys&Version=2022-10-12
请求参数
下方仅列出该接口特有的请求参数和部分公共参数,更多详细信息参见 公共参数
参数
类型
是否必选
示例值
描述
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
crash
指标类型。
  • crash:崩溃
  • crash_defend:崩溃防护
  • lag:卡顿
  • custom_exception:自定义异常
  • battery:电量指标
  • battery_summary:耗电因素
  • battery_trace:异常趋势
limit
Integer
100
返回的数据条数,默认100。
filters
Object of Condition
-
筛选条件,可以指定多个键值对来筛选数据。
Condition
参数
类型
是否必选
示例值
描述
op
String
in
操作符。
  • gt:大于
  • gte:大于等于
  • lt:小于
  • lte:小于等于
  • eq:等于
  • neq:不等于
  • in:包含
  • not_in:不包含
  • lk:模糊匹配特定模式的数据
  • nlk:排除模糊匹配的数据
type
String
expression
筛选条件类型。
  • expression:当前condition是一个表达式。
  • and:当前condition是一个复合表达式,多个sub_condition的逻辑关系是and。
  • or:当前condition是一个复合表达式,多个sub_condition的逻辑关系是or。
  • map:当前condition是map类型。
value
String
123456
筛选值。
values
Array of String
[123456]
筛选值,支持多个。
map_key
String
key_1
map类型key,当type为map时必填。
dimension
String
aid
条件的名称。
sub_conditions
Array of Condition
-
子条件。
请求示例
POST https://apmplus-openapi.cn-beijing.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"
]
}
]
}
}
返回参数
参数
类型
示例值
描述
data
Array of TagKey
[{"label":"third_id", "value":"3ffffs"}]
返回的key数据,最多100条。
error_msg
String
success
错误信息。
error_no
Integer
0
错误码。成功为0。
TagKey
参数
类型
示例值
描述
label
String
third_id
字段值。
value
String
3ffffs
字段值显示名称。
返回示例
{
"err_detail": "",
"data": [
{
"label": "HarmonyOS",
"value": "is_harmony_os"
},
{
"label": "ANR Attribution",
"value": "anr_key"
},
{
"label": "FD Quantity Greater Than 1000",
"value": "fd_leak"
},
{
"label": "Successfully Captured logcat",
"value": "has_logcat"
},
{
"label": "Remaining System Storage Space",
"value": "inner_free"
},
{
"label": "Remaining Internal Storage Space",
"value": "inner_free_real"
},
{
"label": "Remaining sdcard Storage Space",
"value": "sdcard_free"
},
{
"label": "Whether It Is a 64-bit Device",
"value": "is_64_devices"
},
{
"label": "Whether It Is a 64-bit APK",
"value": "is_64_runtime"
},
{
"label": "Whether It Is a Rooted Device",
"value": "is_root"
},
{
"label": "Whether It Is an x86 Device",
"value": "is_x86_devices"
},
{
"label": "Excessive Java Heap Memory Usage (Greater Than 95%)",
"value": "java_heap_leak"
},
{
"label": "The Last Activity in onResume State",
"value": "last_resume_activity"
},
{
"label": "The Thread with the Highest STM Usage",
"value": "max_stm_thread"
},
{
"label": "The Thread with the Highest UTM Usage",
"value": "max_utm_thread"
},
{
"label": "Excessive Virtual Memory Usage (2.8G for 32-bit / 3.8G for 64-bit)",
"value": "memory_leak"
},
{
"label": "Excessive Native Heap Memory Usage (Greater Than 200M)",
"value": "native_heap_leak"
},
{
"label": "Successfully Captured the FD List",
"value": "has_fds_file"
},
{
"label": "Successfully Captured the Thread Status List",
"value": "has_threads_file"
},
{
"label": "Successfully Captured the Process Status",
"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
}
错误码
当前接口暂无独立错误码,若接口调用返回异常,可参考 公共错误码 进行故障排查。
最近更新时间:2025.09.02 16:55:27
这个页面对您有帮助吗?
有用
有用
无用
无用