最近更新时间:2024.04.25 17:57:49
首次发布时间:2024.04.25 17:57:49
调用GetAppMemoryList获取内存泄露或者大对象的列表信息。
ServiceName : apmplus_openapi Region : cn-beijing X-App-Ids : xxx Content-Type : application/json
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 |
| 接口名称。当前 API 的名称为 |
Version | String | 是 |
| 接口版本。当前 API 的版本为 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
os | String | 否 |
| 操作系统。
|
start_time | Integer | 否 |
| 开始时间(Unix时间戳)。 |
end_time | Integer | 否 |
| 终止时间(Unix时间戳)。 |
type | String | 否 |
| 内存问题类型。
|
filters | Object of Condition | 否 |
| 筛选条件,可以指定多个键值对来筛选数据。 |
token | String | 否 |
| 搜索关键字或令牌,用于查询特定信息。 |
page_no | Integer | 否 |
| 页号。 |
page_size | Integer | 否 |
| 每页项数。 |
order_by | String | 否 |
| 排序方式。
|
is_new | Integer | 否 |
| 是否新增issue。
|
status | Array of String | 否 |
| 处理状态。
|
managers | Array of Long | 否 |
| 按责任人筛选,传用户ID列表。 |
tags | Array of Integer | 否 |
| 自定义标签筛选。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
op | String | 否 |
| 操作符。
|
type | String | 否 |
| 筛选条件类型。
|
value | String | 否 |
| 筛选值。 |
values | Array of String | 否 |
| 筛选值,支持多个。 |
map_key | String | 否 |
| map类型key,当type为map时必填。 |
dimension | String | 否 |
| 条件的名称。 |
sub_conditions | Array of Condition | 否 |
| 子条件。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Object of AnalysesListResponseData |
| 返回内容。 |
error_msg | String |
| 错误信息。 |
error_no | Integer |
| 错误码。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
total | Integer |
| 列表总数。 |
result | Array of AnalysesListItem |
| 列表详情。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
user | Integer |
| 影响用户数。 |
count | Integer |
| 错误数。 |
issue | Object of IssueInfo |
| 标签和issue状态、处理人issue状态相关信息,目前包括责任人和状态。 |
title | String |
| 对象、类相关信息,暂未定义对象、类相关信息。 |
avg_size | Double |
| 平均大小。 |
issue_id | String |
| issue的唯一标识符。 |
sub_title | String |
| 线程信息。 |
total_size | Double |
| 总大小。 |
max_version | String |
| issue的结束版本。 |
min_version | String |
| issue的开始版本。 |
top_version | String |
| 影响最大的issue版本。 |
user_compare | Double |
| 影响用户数变化率。 |
count_compare | Double |
| 错误数变化率。 |
avg_size_compare | Double |
| 平均大小变化率。 |
top_version_count | Integer |
| 影响最大版本的泄漏数目。 |
total_size_compare | Double |
| 总大小变化率。 |
top_version_percent | Double |
| 影响最大版本占比。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
id | Long |
| issue在mysql里的ID,不同于issue_id。 |
tag | Array of Tags |
| 标签。 |
status | String |
| issue状态。
|
fixed_version | String |
| 修复版本号。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
id | Long |
| tag ID。 |
key | String |
| tag key。 |
values | Array of ValueId |
| tag value。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
id | Long |
| tag valueID。 |
value | String |
| tag value。 |
POST ?Action=GetAppMemoryList&Version=2024-04-09 { "os": "Android", "start_time": 1665417600, "end_time": 1665417600, "type": "leaked", "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" ] } ] }, "token": "ttt", "page_no": 1, "page_size": 10, "order_by": "count_ascend", "is_new": 0, "status": [ "pending" ], "managers": [ 130 ], "tags": [ 722 ] }
{ "data": { "total": 10, "result": [ { "user": 75, "count": 75, "issue": { "id": 1112121, "tag": [ { "id": 301, "key": "component", "values": [ { "id": 201, "value": "production" } ] } ], "status": "processing", "fixed_version": "v1.1.2" }, "title": "com.example.apminsightdemo.NetworkFragment", "avg_size": 75, "issue_id": "1f8f1ad29b14e18ef605e1319c8e6cfe", "sub_title": "thread com.apm.insight.runtime.u$c.contextClassLoader", "total_size": 75, "max_version": "2.0", "min_version": "1.0", "top_version": "1.5", "user_compare": 0.75, "count_compare": 0.75, "avg_size_compare": 0.75, "top_version_count": 100, "total_size_compare": 0.75, "top_version_percent": 0.75 } ] }, "error_msg": "", "error_no": 0 }