Updated on 2025-08-19 GMT+08:00

Viewing FunctionGraph Metrics

FunctionGraph is interconnected with Application Operations Management (AOM), allowing you to query function metrics without any configurations.

Viewing Function Metrics

FunctionGraph collects function metrics and displays aggregated results. Switch to your target function version before viewing metrics.

  1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
  2. Click the function to be configured to go to the function details page.
  3. Choose Monitoring > Metrics, select an interval (last hour, last 3 hours, last 12 hours, last day, last 3 days, or custom), and check the running status of the function.

Metric Description

Table 1 describes the function metrics.

Table 1 Function metrics

Metric

Unit

Description

Invocations

Count

Total number of invocation requests, including invocation errors and throttled invocations. In case of asynchronous invocation, the count starts only when a function is executed in response to a request.

Duration

ms

Maximum duration: the maximum duration a function is executed within a period.

Minimum duration: the minimum duration a function is executed within a period.

Average duration: the average duration a function is executed within a period. Formula: Average duration = Execution duration/Invocations.

Errors/Error rate

Count

System Errors: The number of system errors during function invoking, excluding throttling errors and execution errors.

Function Error Count: Number of times that your functions failed with error code 200 being returned. Errors caused by function syntax or execution are also included.

Error Rate: The error rate of function invoking. Formula: Error Rate = (Function Error Count + System Errors)/Invocations.

Throttles

Count

Number of times that FunctionGraph throttles your functions due to the resource limit.

Instance Statistics

Count

Concurrency: The number of concurrent requests of the function.

Reserved Instances: The number of reserved instances of the function.

Elastic Instances: The number of elastic instances of the function.

Memory Usage

MB

Currently, this metric is available only in CN East-Shanghai1 and CN North-Beijing4.

Maximum: the maximum memory usage during function execution within a period.

Minimum: the minimum memory usage during function execution within a period.

Average: the average memory usage during function execution within a period. Formula: Average Memory Usage = Total memory usage/Invocations.