Alibaba Cloud Function Compute Monitoring Integration
Site24x7 automatically discovers your Alibaba Cloud Function Compute resources upon integration. This comprehensive monitoring solution lets you track the performance and resource utilization of your serverless functions — including invocation counts, latency percentiles, error rates, resource consumption, and capacity statistics. With real-time dashboards, alert configurations, and automation workflows, you can pinpoint inefficiencies and troubleshoot issues proactively.
Use cases
- Performance monitoring: Identify abnormal latencies or spikes in invocation counts to ensure your function is performing within acceptable limits.
- Error detection: Monitor error and throttle counts to quickly diagnose issues with function execution and external dependencies.
- Resource management: Track CPU and memory usage at both the function and instance levels to optimize resource allocation.
- Capacity planning: Keep an eye on concurrent execution metrics and provisioned instances to ensure sufficient capacity during peak loads.
- Asynchronous processing: Monitor asynchronous execution parameters to maintain smooth message handling and delivery.
Setup and configuration
- Log in to your Site24x7 account and navigate to Cloud > Alibaba Cloud > Add Monitor.
- In the Edit Alibaba Cloud Monitor page, select Function Compute from the Service Types list.
- Once added, go to Cloud > Alibaba > Function Compute to view dashboards and performance metrics.
Supported metrics
Invocation Metrics
| Metric name | Description | Unit |
|---|---|---|
| Invocations | The total number of function invocations recorded. | Count |
| Function Total Invocations | The total number of invocations for the specific function. | Count |
| Function Billable Invocations | The number of billable invocations for the function. | Count |
| Service Billable Invocations | The number of billable invocations aggregated across the service. | Count |
| Service Billable Invocation Rate | The rate of billable invocations relative to total service invocations. | Percentage |
| Region Billable Invocations | The number of billable invocations in the region. | Count |
| Region Billable Invocation Rate | The rate of billable invocations in the region. | Percentage |
| Provisioned Invocations | The number of invocations served by provisioned capacity. | Count |
| Function Qualifier Total Invocations | The total number of invocations for a specific function qualifier (e.g., version or alias). | Count |
Latency Metrics
| Metric name | Description | Unit |
|---|---|---|
| Function Average Duration | The average duration of function execution. | Milliseconds |
| Function Average Latency | The average latency experienced during function execution. | Milliseconds |
| Function Maximum Latency | The maximum latency observed during function execution. | Milliseconds |
| Function P99 Duration | The 99th percentile duration for function execution. | Milliseconds |
| Function P90 Duration | The 90th percentile duration for function execution. | Milliseconds |
| Function Qualifier Average Duration | The average duration for a specific function qualifier. | Milliseconds |
| Function Qualifier Average Latency | The average latency for a specific function qualifier. | Milliseconds |
| Function Qualifier Maximum Latency | The maximum latency for a specific function qualifier. | Milliseconds |
| Function Qualifier P99 Duration | The 99th percentile duration for a specific function qualifier. | Milliseconds |
| Function Qualifier P90 Duration | The 90th percentile duration for a specific function qualifier. | Milliseconds |
Errors and Throttling
| Metric name | Description | Unit |
|---|---|---|
| Function Errors | The number of errors encountered during function execution. | Count |
| Function Execution Errors | The number of function-specific errors recorded. | Count |
| Function Client Errors | The number of client-side errors during function execution. | Count |
| Function Server Errors | The number of server-side errors during function execution. | Count |
| Function Throttle Count | The number of invocations that were throttled. | Count |
| Function Qualifier Execution Errors | The number of errors for a specific function qualifier. | Count |
| Function Qualifier Client Errors | The number of client-side errors for a function qualifier. | Count |
| Function Qualifier Server Errors | The number of server-side errors for a function qualifier. | Count |
| Function Qualifier Resource Throttles | The number of resource throttle events for a function qualifier. | Count |
| Function Concurrency Throttles | The number of throttles due to concurrency limits. | Count |
Resource Usage
| Metric name | Description | Unit |
|---|---|---|
| Function CPU Utilization | The average CPU utilization for the function during execution. | Percentage |
| Function Memory Usage | The percentage of allocated memory used by the function. | Percentage |
| Function Average Memory Utilization | The average memory utilization across function executions. | Percentage |
| Instance Memory Usage | The percentage of memory used on the underlying instance running the function. | Percentage |
| Instance Memory Usage (MB) | The memory usage on the underlying instance expressed in MB. | MB |
| Function Qualifier Memory Usage | The memory usage percentage for a specific function qualifier. | Percentage |
| Function Qualifier Memory Usage (MB) | The memory usage for a function qualifier expressed in MB. | MB |
| Function Qualifier Average vCPU Cores | The average number of virtual CPU cores used by a function qualifier. | Count |
| Function Average vCPU Utilization | The average vCPU utilization for the function during execution. | Percentage |
Provisioned and Concurrent Capacity
| Metric name | Description | Unit |
|---|---|---|
| Function Concurrent Count | The number of concurrent executions running for the function. | Count |
| Function Qualifier Concurrent Count | The number of concurrent executions for a specific function qualifier. | Count |
| Service Concurrent Count | The total number of concurrent executions across the service. | Count |
| Provisioned Instances | The number of provisioned instances allocated for function compute. | Count |
| Provisioned Active Instances | The number of provisioned instances actively processing invocations. | Count |
| Function Qualifier Provisioned Current Instance | The number of provisioned instances currently in use for a function qualifier. | Count |
| Function Qualifier On-Demand Instance Quota | The available quota of on-demand instances for a function qualifier. | Count |
Asynchronous Execution
| Metric name | Description | Unit |
|---|---|---|
| Asynchronous Invocations | The total number of asynchronous invocations recorded. | Count |
| Function Asynchronous Message Backlog (v2) | The backlog count of asynchronous messages pending processing. | Count |
| Function Qualifier Async Message Latency (Average) | The average latency for asynchronous messages for a specific function qualifier. | Milliseconds |
| Function Async Message Latency (Average) | The average latency for asynchronous message processing. | Milliseconds |
| Function Async Message Latency (Maximum) | The maximum latency observed for asynchronous messages. | Milliseconds |
| Destination Delivery Failures | The number of failures in delivering messages to the designated destination. | Count |
| Destination Delivery Successes | The number of successfully delivered messages to the designated destination. | Count |
Threshold configuration
- Go to Admin > Configuration Profiles > Threshold and Availability.
- Create or edit a threshold profile for Function Compute.
- Assign the profile to the respective monitors to trigger alerts.
IT automation
Site24x7's IT Automation tools help with automatically resolving performance degradation issues. When a breach occurs, the alarm engine continuously examines the system events for which thresholds have been defined and performs the mapped automation.
- Go to Admin > IT Automation Templates.
- Create a new automation rule.
- Map the rule to the monitor for proactive resolution.
How to configure IT Automation for a monitor
Configuration rules
With Site24x7's Configuration Rules, you can set parameters like Threshold Profile, Notification Profile, Tags, and Monitor Group for multiple monitors and automate the configuration settings of your monitoring resources. Automatically assign these settings when new Function Compute monitors are added.
How to add a Configuration Rule
