A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.alibabacloud.com/help/en/functioncompute/fc-2-0/user-guide/instance-level-metrics below:

Instance-level metrics - Function Compute

Function Compute provides instance-level metrics that allow you to view core metrics such as vCPU usage, memory usage, the network conditions of instances, and the number of requests that an instance concurrently processes. This topic describes the background information, definition, and details of instance-level metrics. This topic also describes how to enable collection of instance-level metrics.

Background informationFunction Compute is a fully managed and event-driven computing service. You do not need to maintain compute clusters. However, you may encounter the following issues during code development and running:

The instance-level metrics provided by Function Compute can help you resolve the preceding issues and track the health status of instances in Function Compute.

What are instance-level metrics?

Instance-level metrics are performance metrics of instances used to execute functions. The instances are monitored and their performance metrics are collected in real time. The metrics are displayed in a visualized manner to provide you with end-to-end monitoring and troubleshooting paths for the instances.

The instance-level metrics can be displayed in the following dimensions:

Note Metrics

After you enable collection of instance-level metrics, Function Compute collects function execution metrics. You can view the instance-level metrics in the following ways:

The following table describes the instance-level metrics.

Metric Description Example cpuPercent vCPU usage. The value indicates the number of used vCPUs and may exceed 100%. 120% cpuQuotaPercent The maximum vCPU quota of the instance. You can flexibly configure the vCPU and memory specifications. The vCPU-to-memory ratio (vCPU:GB) must be from 1:1 to 1:4. 50% memoryUsageMB The amount of memory used by the instance. Unit: MB. 16.87 memoryLimitMB The maximum amount of memory that can be used by the instance. Unit: MB. 1024 rxBytes The volume of data received by the instance in the time interval at which logs are generated. Unit: bytes. 158 txBytes The volume of data sent by the instance in the time interval at which logs are generated. Unit: bytes. 1598 rxTotalBytes The volume of data received by the instance since the instance was started. Unit: bytes. 158875 txTotalBytes The volume of data sent by the instance since the instance was started. Unit: bytes. 36123 concurrentRequests The number of requests that the instance currently processes. 10 hostname The name of the host on which the instance runs. 36123 Note Enable collection of instance-level metrics
  1. Log on to the Function Compute console. In the left-side navigation pane, click Services & Functions.
  2. In the top navigation bar, select a region. On the Services page, find the desired service and click Configure in the Actions column.
  3. In the Log Settings section on the Modify Service page, enable Instance-level Metrics and click Save.

    Note If you do not enable the logging feature when you create a service, you must enable Logging in the Log Settings section and configure the related the parameters.

ResultAfter you enable instance-level metrics, you can view instance-level metrics such as vCPU usage, memory usage, instance network, and number of requests of the instance on the Monitoring Center page.

Thank you! We've received your feedback.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4