You need to enable JavaScript to run this app.
最新活动
产品
解决方案
定价
合作与生态
支持与服务
开发者
了解我们
导航

PCAlarmMetaEventMetricList

更新时间:2022.11.16 11:11:10

调用PCAlarmMetaEventMetricList接口查看事件详细指标。

请求参数

Query

参数类型是否必选示例值描述
ActionStringPCAlarmMetaEventMeasure请求名称
VersionString2022-10-28请求版本

Body

参数类型是否必选示例值描述
commonobject of common-通用参数
event_namestringevent1事件名

common

参数类型是否必选示例值描述
aidi6412345App ID
envstringcrash环境信息
osstringpc系统

返回参数

参数类型示例值描述
dataobject of data-返回内容
errmsgstring""错误信息,成功为空
errnoi32200错误码,成功为200

data

参数类型示例值描述
measure_meta_listarray of measure_meta_list-类型中指标列表,如果不是simple则没有值返回

measure_meta_list

参数类型示例值描述
keystringmetrics事件类型, metric key
typestringbasic指标类型
  • 事件指标:event
  • 其他:basic
  • labelstring影响用户数展示标签
    measure_namestringuser_count指标名称
    commentobject of comment-无意义
    event_namestringevent1事件名
    unitobject of unit-无意义
    data_explore_metaobject of data_explore_meta-无意义

    filter

    参数类型示例值描述
    opstringin过滤方式
    filter_namestringcpu用于表明filter的哪个维度
    valuesarray of string["intel", "Qualcomm"]过滤值

    示例

    请求示例

    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": "201806041104200100100232280022D30",
            "Action": "PCAlarmMetaEventMeasure",
            "Version": "2022-10-28",
            "Service": "***",
            "Region": "cn-north-1",
            "Error": {
                "Code": "200000",
                "Message": "参数异常"
            }
        }
    }