应用性能管理 APM-获取原始数据表格:请求示例
时间:2025-06-10 21:08:18
请求示例
入参为view_type参数为rawtable的视图配置,可从查询监控项配置信息接口获取。
/v1/apm2/openapi/view/metric/raw-table { "end_time" : 1667436600000, "env_id" : "913", "instance_id" : "13", "monitor_item_id" : 10499, "page" : 1, "page_size" : 10, "search_word" : "", "start_time" : 1667435400000, "view_config" : { "span" : null, "latest" : null, "collector_name" : "Exception", "metric_set" : "exception", "title" : "异常堆栈", "table_direction" : null, "group_by" : "", "filter" : "className=com.*.*.*.*.apm.alarm.service.impl.AviatorService^exceptionType=java.lang.ClassCastException^logType=sl4j_logback_error", "field_item_list" : [ { "trace" : null, "function" : "stackTrace", "as" : "异常堆栈", "default_value" : null, "precision" : null, "unit" : null, "visible" : true } ], "span_field" : null, "view_type" : "rawtable" } }
support.huaweicloud.com/api-apm/ShowRawTable.html