最近更新时间:2023.12.26 19:24:28
首次发布时间:2022.11.15 20:38:48
调用PCAlarmMetaEventMetricList接口查看事件详细指标。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 |
| 请求名称。 |
Version | String | 是 |
| 请求版本。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
common | object of common | 是 | - | 通用参数。 |
event_name | string | 是 |
| 事件名。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
aid | i64 | 是 |
| App ID。 |
env | string | 否 |
| 环境信息。 |
os | string | 是 |
| 系统。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | object of data | - | 返回内容。 |
errmsg | string |
| 错误信息,成功为空。 |
errno | i32 |
| 错误码,成功为200。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
measure_meta_list | array of measure_meta_list | - | 类型中指标列表,如果不是simple则没有值返回。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
key | string |
| 事件类型, metric key。 |
type | string |
| 指标类型。
|
label | string |
| 展示标签。 |
measure_name | string |
| 指标名称。 |
comment | object of comment | - | 无意义。 |
event_name | string |
| 事件名。 |
unit | object of unit | - | 无意义。 |
data_explore_meta | object of data_explore_meta | - | 无意义。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
op | string |
| 过滤方式。 |
filter_name | string |
| 用于表明filter的哪个维度。 |
values | array of string |
| 过滤值。 |
POST /?Action=PCAlarmMetaEventMeasure&Version=2022-10-28 { "common": { "aid": 12345, "os": "pc", "site_type": "", "env": "crash" }, "event_name": "event1" }
{ "errmsg": "", "data": { "measure_meta_list": [ { "type": "basic", "key": "metrics", "label": "影响用户数", "event_name": "event1", "measure_name": "user_count" } ] }, "errno": 200 }
{ "ResponseMetadata": { "RequestId": "2018****22D30", "Action": "PCAlarmMetaEventMeasure", "Version": "2022-10-28", "Service": "***", "Region": "cn-north-1", "Error": { "Code": "200000", "Message": "参数异常" } } }