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

应用性能监控全链路版

复制全文
下载 pdf
Action 列表
ActionDetailReqList
复制全文
下载 pdf
ActionDetailReqList
获取指定action发生的请求列表。
请求说明
客户端监控已在全球多个地域部署服务,旨在为您提供更稳定、低延迟的访问体验。您可以通过查阅 服务地址 文档,根据业务所在地选择最合适的接入点。
  • 请求方式:POST
  • 请求地址:https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetReqListPerAction&Version=2022-10-12
请求参数
下方仅列出该接口特有的请求参数和部分公共参数,更多详细信息参见 公共参数
参数
类型
是否必选
示例值
描述
Action
String
GetReqListPerAction
接口名称。当前 API 的名称为 GetReqListPerAction
Version
String
2022-10-12
接口版本。当前 API 的版本为 2022-10-12
action_type
String
click
Action类型。调用GetActionOverviewList接口查看取值。
pid
String
数据探索
页面ID。调用GetActionOverviewList接口查看取值。
action_target_name
String
描述
Action名字。调用GetActionOverviewList接口查看取值。
common
Object of CommonParams
-
通用参数。
time_filter
Object of TimeFilter
-
时间区间。
filter_conditions
Object of FilterCondition
-
筛选条件。
order_by
String
count_descend
排序依据。
  • count_ascend:升序排列
  • count_descend(默认):降序排列
pgno
Long
1
分页查询参数,用于设置当前页码。默认值:1。
pgsz
Long
30
分页查询参数,用于设置每页行数。默认值:30。
CommonParams
参数
类型
是否必选
示例值
描述
aid
Long
12345
应用ID。
site_type
String
web
站点类型。
env
String
online
环境,填""时为全部。
os
String
webpro
服务类型,可选值为webproappminipro
user
String
test_user
用户名。
TimeFilter
参数
类型
是否必选
示例值
描述
start_time
Integer
1665485413
起始时间,单位s。
end_time
Integer
1665744613
终止时间,单位s。
granularity
Integer
3600
聚合时间粒度,单位s。
FilterCondition
参数
类型
是否必选
示例值
描述
type
String
and
筛选条件类型,可选值为andrule,只支持两层,第一层的type必须为and,第二层的type必须为rule。
field
String
pid
条件字段key,可选值集合由GetFieldKeys方法获取。
op
String
in
条件符号,可选值有eq,neq,lt,lte,gt,gte,in,not_in,regex,not_regex。
groupKey
String
context
map类型字段key,可选值集合由GetFieldKeys方法获取。
values
Array of String
[数据探索]
条件值,可选值集合由GetFieldValues方法获取。
children
Array of FilterCondition
-
如果下层还有条件,则放入该处,即type为and时必填。这一层与field,op,groupkey以及values不能同时存在。
请求示例
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetReqListPerAction&Version=2022-10-12
{
"common":{
"aid":12345
},
"time_filter":{
"start_time":1664621845,
"end_time":1665140253,
"granularity":86400
},
"action_type":"click",
"pid":"data explore",
"action_target_name":"description",
"metric_type":"avg",
"filter_conditions":{
"type":"and",
"children":[
{
"op":"in",
"field":"pid",
"values":[
"data explore"
]
}
]
},
"pgsz":20,
"pgno":1,
"order_by":"count_descend"
}
返回参数
参数
类型
示例值
描述
errno
Integer
0
错误码。成功为0。
errmsg
String
""
错误信息。成功为""
data
-
返回内容。
ActionDetailReqListResponseData
参数
类型
示例值
描述
total
Long
10
列表里的请求数。
result
Array of ActionReqItem
-
结果数据。
ActionReqItem
参数
类型
示例值
描述
path
String
/api_web/common/field_values
请求路径。
domain
String
demo.volcengine.net
请求域名。
duration
Long
26
请求耗时统计值。
duration_trend
Object of ChartData
-
请求耗时趋势。
ChartData
参数
类型
示例值
描述
fields
Array of Field
-
折线图/饼图维度,len(fields)=len(source[i])。
source
Array of String
[["1668355200","js_error","0","0"]]
趋势图具体点的集合,len(source)为折线图点的数量或者饼图中块数量。
Field
参数
类型
示例值
描述
id
String
date
维度key。
name
String
日期
维度名。
dataType
String
string
维度类型。
aggregate
String
-
聚合方式。
返回示例
{
"err_detail":"",
"data":{
"result":[
{
"domain":"demo.volcengine.net",
"path":"/api_web/common/field_values",
"duration":26,
"duration_trend":{
"fields":[
{
"id":"date",
"dataType":"string",
"name":""
},
{
"id":"count",
"dataType":"number",
"name":"request time"
}
],
"source":[
[
"1664553600",
"641"
],
[
"1665158400",
"0"
]
]
}
}
]
},
"error_msg":"",
"error_no":0
}
错误码
当前接口暂无独立错误码,若接口调用返回异常,可参考 公共错误码 进行故障排查。
最近更新时间:2026.08.28 16:25:31
这个页面对您有帮助吗?
有用
有用
无用
无用