最近更新时间:2024.04.25 17:57:50
首次发布时间:2024.04.25 17:57:50
调用GetAppMemoryDetail获取单个内存的摘要信息。
ServiceName : apmplus_openapi Region : cn-beijing X-App-Ids : xxx Content-Type : application/json
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 |
| 接口名称。当前 API 的名称为 |
Version | String | 是 |
| 接口版本。当前 API 的版本为 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
os | String | 否 |
| 系统类型。
|
memory_type | String | 否 |
| 内存问题类型。
|
issue_id | String | 否 |
| issue的唯一标识符。 |
start_time | Integer | 否 |
| 开始时间(Unix时间戳)。 |
end_time | Integer | 否 |
| 结束时间(Unix时间戳)。 |
filters | Object of Condition | 否 |
| 筛选条件,可以指定多个键值对来筛选数据。 |
token | String | 否 |
| 搜索关键字或令牌,用于查询特定信息。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
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 DetailResponseData |
| 返回内容。 |
error_msg | String |
| 错误信息。 |
error_no | Integer |
| 错误码。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
user | Integer |
| 影响的用户数。 |
count | Integer |
| 错误数。 |
issue | Object of IssueInfo |
| issue状态相关信息,目前包括责任人和状态。 |
title | String |
| issue详情信息。 |
sub_title | String |
| issue线程信息。 |
user_rate | Double |
| 影响用户比例。 |
count_rate | Double |
| 错误率。 |
user_compare | Double |
| 前一统计周期的影响用户数。 |
count_compare | Double |
| 前一统计周期的错误数。 |
latest_event_time | Long |
| 最晚出现错误的时间(Unix时间戳)。 |
user_rate_compare | Double |
| 影响用户比例变化率。 |
count_rate_compare | Double |
| 错误率变化率。 |
latest_report_time | Long |
| 最后一次报告错误的时间(Unix时间戳)。 |
earliest_event_time | Long |
| 最早出现错误的时间(Unix时间戳)。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
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=GetAppMemoryDetail&Version=2024-04-09 { "os": "android", "memory_type": "leaked", "issue_id": "issue123", "start_time": 1665417600, "end_time": 1665504000, "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": "error" }
{ "data": { "user": 50, "count": 100, "issue": "", "title": "android.graphics.Bitmap", "sub_title": "thread com.apm.insight.runtime.u$c.contextClassLoader", "user_rate": 0.05, "count_rate": 0.02, "user_compare": 20, "count_compare": 1, "latest_event_time": 1665504000, "user_rate_compare": 0.02, "count_rate_compare": -0.01, "latest_report_time": 1665580400, "earliest_event_time": 1665417600 }, "error_msg": "", "error_no": 0 }