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

Configuring an Alarm Rule

After creating a function and trigger, you can monitor the invocation and running statuses of the function in real time.

Notes and Constraints

After a function is deleted, the alarm rules created for it will not be updated in real time on the Cloud Eye console and may continue to be displayed there for a maximum of seven days.

Viewing Function Metrics

FunctionGraph differentiates the metrics of a function by version, allowing you to query the metrics of a specific function version.

Procedure

Create an alarm rule for a function to report metrics to Cloud Eye so that you can view monitoring graphs and alarm messages on the Cloud Eye console.

  1. Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
  2. Click the name of the desired function.
  3. On the displayed function details page, select a function version or alias, and choose Monitoring > Metrics.
  4. Click Create Alarm Rule.
  5. Set alarm parameters and click Next as shown in Figure 1.

    Figure 1 Creating an alarm rule

  6. Enter a rule name and click OK.