函数工作流 FUNCTIONGRAPH-查询函数实例流量指标:响应参数

时间:2023-11-08 17:29:36

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

concurrency_num

Array of SlaReportsValue objects

并发数

count

Array of SlaReportsValue objects

调用次数

duration

Array of SlaReportsValue objects

平均时延,单位毫秒

fail_count

Array of SlaReportsValue objects

错误次数

function_error_count

Array of SlaReportsValue objects

函数错误次数

system_error_count

Array of SlaReportsValue objects

系统错误次数

instance_num

Array of SlaReportsValue objects

弹性实例数

max_duration

Array of SlaReportsValue objects

最大时延,单位毫秒

min_duration

Array of SlaReportsValue objects

最小时延,单位毫秒

reject_count

Array of SlaReportsValue objects

被拒绝次数

reserved_instance_num

Array of SlaReportsValue objects

预留实例数

表4 SlaReportsValue

参数

参数类型

描述

timestamp

Integer

时间戳

value

Double

状态码: 500

表5 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息

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