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

应用性能监控全链路版

复制全文
下载 pdf
内存监控
GetAppMemoryEventList
复制全文
下载 pdf
GetAppMemoryEventList
获取内存事件列表。
请求说明
应用性能监控全链路版客户端监控已在全球多个地域部署服务,旨在为您提供更稳定、低延迟的访问体验。您可以通过查阅 服务地址 文档,根据业务所在地选择最合适的接入点。
  • 请求方式:POST
  • 请求地址:https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAppMemoryEventList&Version=2022-10-12
请求参数
下方仅列出该接口特有的请求参数和部分公共参数,更多详细信息参见 公共参数
参数
类型
是否必选
示例值
描述
Action
String
GetAppMemoryEventList
接口名称。当前 API 的名称为 GetAppMemoryEventList
Version
String
2022-10-12
接口版本。当前 API 的版本为 2022-10-12
os
String
android
操作系统。
  • Android:安卓
  • iOS:iOS
memory_type
String
leaked
内存问题类型。
  • leaked:泄漏
  • large_object:大对象
issue_id
String
issue_12345
issue ID。
start_time
Integer
1617122400
查询开始时间(Unix时间戳)。
end_time
Integer
1617208800
查询结束时间(Unix时间戳)。
filters
Object of Condition
-
筛选条件,可以指定多个键值对来筛选数据。
event_id
String
event_12345
事件ID。
page_no
Integer
1
查看的页码。
page_size
Integer
10
单页大小。
token
String
crash
查询使用关键字或令牌,用于查询特定信息。
is_new
Integer
1
是否新增issue。
  • 1:只看新增issue
  • 0:全部issue
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=GetAppMemoryEventList&Version=2022-10-12
{
"os": "android",
"memory_type": "leaked",
"issue_id": "issue_12345",
"start_time": 1617122400,
"end_time": 1617208800,
"filters": {
"type": "and",
"sub_conditions": [
{
"dimension": "apm_version",
"type": "expression",
"op": "in",
"values": [
"1.4.5"
]
},
{
"dimension": "device_model",
"type": "expression",
"op": "in",
"values": [
"MI 5X"
]
}
]
},
"event_id": "event_12345",
"page_no": 1,
"page_size": 10,
"token": "crash",
"is_new": 1
}
返回参数
参数
类型
示例值
描述
data
-
返回数据。
error_msg
String
-
错误信息。
error_no
Integer
0
错误码。
IssueEventListResponseData
参数
类型
示例值
描述
total
Integer
10
列表总数。
result
Array of IssueEvent
-
列表详情。
IssueEvent
参数
类型
示例值
描述
aid
Integer
12345
应用的唯一标识符。
rom
String
stock
ROM类型或版本。
region
String
us-west
设备所在地区。
channel
String
official
应用分发渠道。
filters
JSON Map
{"tag1": "value1", "tag2": "value2"}
自定义标签。
tos_key
String
tos_key_example
TOS key对象在TOS存储系统的Key。
user_id
String
user123
用户的唯一标识符。
api_time
Long
1665417600
上报时间(Unix时间戳)。
event_id
String
event_123456789
此次crash的唯一标识符。
issue_id
String
issue_123
与此次事件关联的issue的唯一标识符。
device_id
String
abcdef123456
设备的唯一标识符。
launch_id
String
launch_123
应用启动的唯一标识符。
event_time
Long
1665417600
客户端事件发生时间(Unix时间戳)。
os_version
String
Android 11
操作系统版本。
app_version
String
1.0.0
应用的当前版本。
in_app_time
Long
3600
触发事件前的应用使用时长。
object_name
String
LeakedClass
内存泄露相关可能引起内存泄漏的对象名称。
object_size
String
64
所报告对象的大小。单位:字节。
raw_log_key
String
raw_log_123456789
原始日志的存储Key。
device_model
String
Pixel 4XL
设备型号。
dump_log_key
String
dump_log_123456789
转储日志的存储Key。
object_count
String
1
所报告对象的总计数。
process_name
String
com.example.app
运行时出现问题的进程名。
is_background
Integer
0
标识应用是否在后台运行。
is_jailbroken
Integer
0
标识设备是否越狱。
is_launch_crash
Integer
1
标识此次crash是否为启动时crash。
large_object_type
Integer
1
大对象内存类型标识。
update_version_code
String
100200300
应用的小版本号。
Filters
参数
类型
示例值
描述
key
String
tag1
自定义key。
value
String
返回示例
{
"data": {
"total": 10,
"result": [
{
"aid": 12345,
"rom": "stock",
"region": "us-west",
"channel": "official",
"filters": {
"tag1": "value1",
"tag2": "value2"
},
"tos_key": "tos_key_example",
"user_id": "user123",
"api_time": 1665417600,
"event_id": "event_123456789",
"issue_id": "issue_123",
"device_id": "abcdef123456",
"launch_id": "launch_123",
"event_time": 1665417600,
"os_version": "Android 11",
"app_version": "1.0.0",
"in_app_time": 3600,
"object_name": "LeakedClass",
"object_size": "64",
"raw_log_key": "raw_log_123456789",
"device_model": "Pixel 4XL",
"dump_log_key": "dump_log_123456789",
"object_count": "1",
"process_name": "com.example.app",
"is_background": 0,
"is_jailbroken": 0,
"is_launch_crash": 1,
"large_object_type": 1,
"update_version_code": "100200300"
}
]
},
"error_msg": "",
"error_no": 0
}
错误码
当前接口暂无独立错误码,若接口调用返回异常,可参考 公共错误码 进行故障排查。
最近更新时间:2025.09.02 10:10:12
这个页面对您有帮助吗?
有用
有用
无用
无用