Function Monitoring

FunctionGraph is interconnected with Cloud Eye, allowing you to view function metrics without the need for 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 day, last 3 days, or custom), and check the running status of the function.

    Note

    The following metrics are displayed: invocations, errors, duration (maximum, average, and minimum durations), throttles, and instance statistics.

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.

Errors

Count

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

Throttles

Count

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

Instance Statistics

Count

Numbers of concurrent requests and reserved instances.