Updated on 2023-11-30 GMT+08:00

Function Metrics

Introduction

This section describes the FunctionGraph namespaces, function metrics, and dimensions reported to Cloud Eye. You can view function metrics and alarms by using the Cloud Eye console or calling APIs.

Namespaces

SYS.FunctionGraph

Function Metrics

Table 1 Function metrics

Metric ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Period of Raw Data (Minute)

count

Invocations

Number of function invocations

Unit: Count

≥ 0 counts

Functions

5

failcount

Errors

Number of invocation errors

The following errors are included:

  • Function request error (causing an execution failure and returning error code 200)
  • Function syntax or execution error

Unit: Count

≥ 0 counts

Functions

5

failRate

Error rate

Percentage of invocation errors to the total invocations

Unit: %

0% ≤X≤ 100%

Functions

5

rejectcount

Throttles

Number of function throttles

That is, the number of times that FunctionGraph throttles your functions due to the resource limit.

Unit: Count

≥ 0 counts

Functions

5

concurrency

Number of concurrent requests

Maximum number of concurrent requests during function invocation.

Unit: Count

≥ 0 counts

Functions

5

reservedinstancenum

Number of reserved instances

Number of reserved instances

Unit: Count

≥ 0 counts

Functions

5

duration

Average duration

Average duration of function invocation

Unit: ms

≥ 0 ms

Functions

5

maxDuration

Maximum duration

Maximum duration of function invocation

Unit: ms

≥ 0 ms

Functions

5

minDuration

Minimum duration

Minimum duration of function invocation

Unit: ms

≥ 0 ms

Functions

5

systemErrorCount

System errors

Number of 200 errors that cause a failure in executing function requests. Unit: Count

≥ 0

Functions

5

functionErrorCount

Function errors

Number of syntax and execution errors. Unit: Count

≥ 0

Functions

5

payPerUseInstance

Number of elastic instances.

Number of elastic instances. Unit: Count

≥ 0

Functions

5

Table 2 Flow metrics

Metric ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Period of Raw Data (Minute)

toalCount

Invocations

Number of flow invocations

Unit: Count

≥ 0 counts

Flows

1

errorCount

Errors

Number of invocation errors

Unit: Count

≥ 0 counts

Flows

1

running

Running Workflows

Number of running flows

Unit: Count

≥ 0 counts

Flows

1

rejectCount

Throttles

Number of flow throttles

Unit: Count

≥ 0 counts

Flows

1

averageDuration

Average Duration

Average duration of flow invocation

Unit: ms

≥ 0 ms

Flows

1

Dimensions

Key

Value

package-functionname

App name-Function name

Example: default-myfunction_Python

graph_name

Flow name

projectId

Project ID of the tenant