CloudMonitor provides monitoring metrics for Function Compute on the Service and Function levels, including TotalInvocations,   average duration, and request status distribution,  to help you monitor the service status of Function Compute in real time and set alarm rules for the monitoring metrics. After you purchase and use the Function Compute service, CloudMonitor automatically collects data on the preceding metrics.

Monitoring service

  • Metrics
    Metric Dimension Unit Minimum monitor Granularity
    Billableinvocations User, service, and function Count 1 minute
    BillableInvocationsRate User, service, and function Percent 1 minute
    ClientErrors User, service, and function Count 1 minute
    ClientErrorsRate User, service, and function Percent 1 minute
    ServerErrors User, service, and function Count 1 minute
    ServerErrorsRate User, service, and function Percent 1 minute
    Throttles User, service, and function Count 1 minute
    ThrottlesRate User, service, and function Percent 1 minute
    Totalinvocations User, service, and function Count 1 minute
    Average duration User, service, and function Millisecond 1 minute
    Note
    • Monitoring data is saved for up to 31 days.

    • You can view the monitoring data for up to 14 consecutive days.

  • View monitoring data
    1. Log on to the CloudMonitor console.
    2. Go to the Function Compute monitoring page under Cloud Service Monitoring, and view the overall monitoring data of the Function Compute service.
    3. Click Service List to view the monitoring information on the Service or Function level.

Alarm service

CloudMonitor provides alarm functions for Function Compute monitoring metrics, so you are notified immediately in case of any metric exceptions.

Set alarm rules

  • Method 1
    1. Log on to the CloudMonitor console.
    2. Go to the Function Compute monitoring page under Cloud Service Monitoring.
    3. In the Service or Function list, click Monitoring Chart in the Action column to access the monitoring details page.
    4. Click the bell icon in the upper-right corner of the monitoring chart or New Alarm Rule in the upper-right corner of the page to set an alarm rule for corresponding monitoring metrics of this instance.
  • Method 2
    1. Log on to the CloudMonitor console.
    2. Go to the Function Compute monitoring page under Cloud Service Monitoring.
    3. Click the Alarm Rules to go to the  Alarm Rules list page. Click Create  in the upper-right corner to create alarm rules.