函数工作流 FUNCTIONGRAPH-获取函数流指标:URI

时间:2025-05-28 09:46:56

URI

GET /v2/{project_id}/fgs/workflow-statistic

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

项目ID,获取方式请参见获取项目ID

最小长度:1

最大长度:64

表2 Query参数

参数

是否必选

参数类型

描述

period

String

时间段,单位为分钟

start_time

String

开始时间,精确到ms的时间戳

end_time

String

结束时间,精确到ms的时间戳

metric_type

String

指标类型,为空或不在取值范围内时,查询所有指标。取值范围:totalCount 调用次数;errorCount 错误次数; averageDuration 运行时间;running 运行中个数;rejectCount 拒绝个数。

support.huaweicloud.com/api-functiongraph/functiongraph_06_1009.html