函数工作流 FUNCTIONGRAPH-租户函数统计信息:响应参数

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

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

count

Array of MonthUsed objects

月度调用次数

gbs

Array of MonthUsed objects

月度资源用量

gpu_gbs

Array of MonthUsed objects

月度gpu资源用量

statistics

ListFunctionStatisticsResponseBody object

函数指标

表5 MonthUsed

参数

参数类型

描述

date

String

日期

value

Number

使用量

表6 ListFunctionStatisticsResponseBody

参数

参数类型

描述

count

Array of SlaReportsValue objects

调用次数

duration

Array of SlaReportsValue objects

平均时延,单位毫秒

fail_count

Array of SlaReportsValue objects

错误次数

max_duration

Array of SlaReportsValue objects

最大时延,单位毫秒

min_duration

Array of SlaReportsValue objects

最小时延,单位毫秒

reject_count

Array of SlaReportsValue objects

被拒绝次数

function_error_count

Array of SlaReportsValue objects

函数错误次数

system_error_count

Array of SlaReportsValue objects

系统错误次数

reserved_instance_num

Array of SlaReportsValue objects

预留实例指标

concurrency_num

Array of SlaReportsValue objects

弹性实例指标

表7 SlaReportsValue

参数

参数类型

描述

timestamp

Integer

时间戳

value

Double

值,value值为-1表示当前时间段该指标无数据,例如函数未执行等情况。

状态码: 400

表8 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息

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