函数工作流 FUNCTIONGRAPH-获取指定时间段的函数运行指标:响应参数

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

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

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

弹性实例指标

表4 SlaReportsValue

参数

参数类型

描述

timestamp

Integer

时间戳

value

Double

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

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