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

时间:2023-11-01 16:25:44

响应示例

状态码: 200

ok

{  "count" : [ {    "timestamp" : 1596679200000,    "value" : -1  }, {    "timestamp" : 1596682800000,    "value" : 2  }, {    "timestamp" : 1596686400000,    "value" : -1  } ],  "duration" : [ {    "timestamp" : 1596679200000,    "value" : -1  }, {    "timestamp" : 1596682800000,    "value" : 950  }, {    "timestamp" : 1596686400000,    "value" : -1  } ],  "fail_count" : [ {    "timestamp" : 1596679200000,    "value" : -1  }, {    "timestamp" : 1596682800000,    "value" : 0  }, {    "timestamp" : 1596686400000,    "value" : -1  } ],  "max_duration" : [ {    "timestamp" : 1596679200000,    "value" : -1  }, {    "timestamp" : 1596682800000,    "value" : 740  }, {    "timestamp" : 1596686400000,    "value" : -1  } ],  "min_duration" : [ {    "timestamp" : 1596679200000,    "value" : -1  }, {    "timestamp" : 1596682800000,    "value" : 210  }, {    "timestamp" : 1596686400000,    "value" : -1  } ],  "reject_count" : [ {    "timestamp" : 1596679200000,    "value" : -1  }, {    "timestamp" : 1596682800000,    "value" : 0  }, {    "timestamp" : 1596686400000,    "value" : -1  } ]}
support.huaweicloud.com/api-functiongraph/functiongraph_06_0138.html