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

应用性能监控全链路版

复制全文
下载 pdf
报警
GetAppAlarmMetricsConf
复制全文
下载 pdf
GetAppAlarmMetricsConf
获取 App 报警相关元数据。​
请求说明​
客户端监控已在全球多个地域部署服务,旨在为您提供更稳定、低延迟的访问体验。您可以通过查阅 服务地址 文档,根据业务所在地选择最合适的接入点。​
  • 请求方式:GET​
  • 请求地址:https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAppAlarmMetricsConf&Version=2025-12-01​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数,更多详细信息参见 公共参数。​
说明​
调用本接口前,请在请求中传入必填的公共请求参数(如 x-app-ids),否则将调用失败。​
​
参数​
类型​
是否必选​
示例值​
描述​
Action​
String​
是​
GetAppAlarmMetricsConf​
接口名称。当前 API 的名称为 GetAppAlarmMetricsConf。​
Version​
String​
是​
2025-12-01​
接口版本。当前 API 的版本为 2025-12-01。​
Aid​
Long​
是​
123456​
应用ID​
​
请求示例​
​
GET https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAppAlarmMetricsConf&Version=2025-12-01&Aid=123456​
​
返回参数​
​
参数​
类型​
示例值​
描述​
key​
String​
-​
异常类型。​
value​
Object of Config​
-​
该异常类型的相关数据。​
​
Config​
​
参数​
类型​
示例值​
描述​
Groups​
Array of Group​
-​
该报警类别支持的分组维度。​
Filters​
Array of Filter​
-​
该类别支持的筛选条件。​
Metrics​
Array of Meta​
-​
该报警类别支持的指标。​
​
Group​
​
参数​
类型​
示例值​
描述​
Type​
String​
normal​
分组维度类型。​
Field​
String​
os​
分组维度 key。​
Label​
String​
操作系统名称​
分组维度名。​
​
Filter​
​
参数​
类型​
示例值​
描述​
Op​
Array of KeyLabel​
[]​
该筛选维度支持的条件符号。​
Type​
String​
normal​
筛选维度类型。​
Filed​
String​
os​
筛选维度 key。​
Label​
String​
操作系统名称​
筛选条件名称。​
Values​
Array of FilterValue​
[]​
筛选维度值。​
SubFilter​
Array of Filter​
[]​
子条件。​
​
Meta​
​
参数​
类型​
示例值​
描述​
Type​
String​
-​
指标类型,简单指标还是复合指标。​
Label​
String​
Ajax错误数​
指标名称。​
Metric​
String​
ajax_error_count​
指标 key。​
SubMeta​
Array of Meta​
[]​
子指标。​
​
KeyLabel​
​
参数​
类型​
示例值​
描述​
Key​
String​
in​
条件符号 key。​
Label​
String​
=​
条件符号前端展示。​
​
FilterValue​
​
参数​
类型​
示例值​
描述​
Label​
String​
操作系统​
筛选值展示名称。​
Value​
String​
iOS​
筛选值。​
​
返回示例​
​
{​
"ResponseMetadata": {​
"Action": "GetAppAlarmMetricsConf",​
"Region": "cn-north-1",​
"Service": "apmplus_openapi",​
"Version": "2025-12-01",​
"RequestId": "20230604110420****100232280022D31"​
},​
"Result": {​
"app_crash": {​
"Groups": [​
{​
"Type": "normal",​
"Field": "os",​
"Label": "OS Name"​
},​
{​
"Type": "normal",​
"Field": "device_model",​
"Label": "Device Model"​
}​
],​
"Filters": [​
{​
"Op": [​
{​
"Key": "in",​
"Label": "="​
},​
{​
"Key": "not_in",​
"Label": "!="​
}​
],​
"Type": "normal",​
"Filed": "os",​
"Label": "OS Name",​
"Values": [​
{​
"Label": "iOS",​
"Value": "iOS"​
},​
{​
"Label": "Android",​
"Value": "Android"​
}​
],​
"SubFilter": []​
}​
],​
"Metrics": [​
{​
"Type": "normal",​
"Label": "Crash Count",​
"Metric": "crash_count",​
"SubMeta": []​
},​
{​
"Type": "normal",​
"Label": "Affected Users",​
"Metric": "crash_user_count",​
"SubMeta": []​
}​
]​
},​
"app_ajax_error": {​
"Groups": [​
{​
"Type": "normal",​
"Field": "api_path",​
"Label": "API Path"​
}​
],​
"Filters": [​
{​
"Op": [​
{​
"Key": "in",​
"Label": "="​
}​
],​
"Type": "normal",​
"Filed": "status_code",​
"Label": "Response Status Code",​
"Values": [​
{​
"Label": "500",​
"Value": "500"​
}​
],​
"SubFilter": []​
}​
],​
"Metrics": [​
{​
"Type": "normal",​
"Label": "Ajax Error Count",​
"Metric": "ajax_error_count",​
"SubMeta": []​
}​
]​
}​
},​
"-": {​
"app_crash": {​
"Groups": [​
{​
"Type": "normal",​
"Field": "os",​
"Label": "OS Name"​
}​
],​
"Filters": [​
{​
"Op": [​
{​
"Key": "in",​
"Label": "="​
}​
],​
"Type": "normal",​
"Filed": "os",​
"Label": "OS Name",​
"Values": [​
{​
"Label": "iOS",​
"Value": "iOS"​
}​
],​
"SubFilter": []​
}​
],​
"Metrics": [​
{​
"Type": "normal",​
"Label": "Crash Count",​
"Metric": "crash_count",​
"SubMeta": []​
}​
]​
}​
}​
}
​
错误码​
当前接口暂无独立错误码,若接口调用返回异常,可参考 公共错误码 进行故障排查。​
最近更新时间:2026.10.21 16:47:30
这个页面对您有帮助吗?
有用
有用
无用
无用