Updated on 2024-04-18 GMT+08:00

Basic ECS Metrics

Description

This section describes basic monitoring metrics reported by ECS to Cloud Eye. You can use Cloud Eye to view these metrics and alarms generated for ECSs.

Namespace

SYS.ECS

Basic ECS Metrics

Basic ECS metrics vary depending on ECS OSs and types. For details, see Table 1. √ indicates that the metric is supported, and x indicates that the metric is not supported.

  • Certain ECS metrics require the installation of UVP VMTools on the image from which the ECS is created. For details about how to install UVP VMTools, see https://github.com/UVP-Tools/UVP-Tools/.
  • Certain ECS metrics require the installation of the Agent on the ECS. After the Agent is installed, log in to the management console and choose Cloud Eye under Management & Deployment. On the Cloud Eye console, choose Server Monitoring > Elastic Cloud Server from the left navigation pane to view ECS metrics, such as AGT. User Space CPU Usage. For details, see OS Monitoring Metrics Supported by ECSs with the Agent Installed.
    • For details about how to install the Agent on a Windows ECS, see "Installing and Configuring the Agent (Windows)" in Cloud Eye User Guide.
    • For details about how to install the Agent on a Linux ECS, see "Installing and Configuring the Agent (Linux)" in Cloud Eye User Guide.
Table 1 Basic ECS metrics

Metric ID

Metric

Windows

Linux

-

None

Xen

KVM

Xen

KVM

cpu_util

CPU Usage

Supported

Supported

Supported

Supported

mem_util

Memory Usage

Supported

Supported

Supported (UVP VMTools must be included in the image. Otherwise, this metric is unavailable.)

Not supported

disk_util_inband

Disk Usage

Supported

Supported

Supported (UVP VMTools must be included in the image. Otherwise, this metric is unavailable.)

Not supported

disk_read_bytes_rate

Disk Read Bandwidth

Supported

Supported

Supported

Supported

disk_write_bytes_rate

Disk Write Bandwidth

Supported

Supported

Supported

Supported

disk_read_requests_rate

Disk Read IOPS

Supported

Supported

Supported

Supported

disk_write_requests_rate

Disk Write IOPS

Supported

Supported

Supported

Supported

network_incoming_bytes_rate_inband

Inband Incoming Rate

Supported (UVP VMTools must be included in the image. Otherwise, this metric is unavailable.)

Supported

Supported (UVP VMTools must be included in the image. Otherwise, this metric is unavailable.)

Not supported

network_outgoing_bytes_rate_inband

Inband Outgoing Rate

Supported (UVP VMTools must be included in the image. Otherwise, this metric is unavailable.)

Supported

Supported (UVP VMTools must be included in the image. Otherwise, this metric is unavailable.)

Not supported

network_incoming_bytes_aggregate_rate

Outband Incoming Rate

Supported (If UVP VMTools is included in the image, this metric is unavailable. In such a case, use the inband outgoing rate.)

Supported

Supported (If UVP VMTools is included in the image, this metric is unavailable. In such a case, use the inband outgoing rate.)

Supported

network_outgoing_bytes_aggregate_rate

Outband Outgoing Rate

Supported (If UVP VMTools is included in the image, this metric is unavailable. In such a case, use the inband outgoing rate.)

Supported

Supported (If UVP VMTools is included in the image, this metric is unavailable. In such a case, use the inband outgoing rate.)

Supported

cpu_credit_usage

CPU Credit Usage

Not supported

Supported (only for T6 ECSs)

Not supported

Supported (only for T6 ECSs)

cpu_credit_balance

CPU Credit Balance

Not supported

Supported (only for T6 ECSs)

Not supported

Supported (only for T6 ECSs)

cpu_surplus_credit_balance

CPU Surplus Credit Balance

Not supported

Supported (only for T6 ECSs)

Not supported

Supported (only for T6 ECSs)

cpu_surplus_credit_charged

CPU Surplus Credits Charged

Not supported

Supported (only for T6 ECSs)

Not supported

Supported (only for T6 ECSs)

network_vm_connections

Network Connections

Not supported

Supported

Not supported

Supported

network_vm_bandwidth_in

Inbound Bandwidth

Not supported

Supported

Not supported

Supported

network_vm_bandwidth_out

Outbound Bandwidth

Not supported

Supported

Not supported

Supported

network_vm_pps_in

Inbound PPS

Not supported

Supported

Not supported

Supported

network_vm_pps_out

Outbound PPS

Not supported

Supported

Not supported

Supported

network_vm_newconnections

New Connections

Not supported

Supported

Not supported

Supported

Table 2 describes these basic ECS metrics.

The monitoring intervals for the following ECSs with raw monitoring metrics are as follows:

  • Xen ECSs: 4 minutes
  • KVM ECSs: 5 minutes
Table 2 Basic metric description

Metric ID

Parameter

Description

Value Range

Monitored Object & Dimension

Monitoring Interval (Raw Metrics and KVM Only)

cpu_util

CPU Usage

CPU usage of an ECS

This metric is used to show the CPU usage of the physical server accommodating the monitored ECS, which is not accurate as the CPU usage obtained on the monitored ECS. For details, see Why Is Basic Monitoring Data Inconsistent with Data Monitored by the OS?

Unit: Percent

Formula: CPU usage of an ECS/Number of vCPUs in the ECS

≥ 0

ECS

5 minutes

mem_util

Memory Usage

Memory usage of an ECS

This metric is unavailable if the image has no UVP VMTools installed.

Unit: Percent

Formula: Used memory of an ECS/Total memory of the ECS

NOTE:

The memory usage of QingTian ECSs cannot be monitored.

≥ 0

ECS

5 minutes

disk_util_inband

Disk Usage

Disk usage of an ECS

This metric is unavailable if the image has no UVP VMTools installed.

Unit: Percent

Formula: Used capacity of an ECS-attached disk/Total capacity of the ECS-attached disk

≥ 0

ECS

5 minutes

disk_read_bytes_rate

Disk Read Bandwidth

Number of bytes read from an ECS-attached disk per second

Unit: byte/s

Formula: Total number of bytes read from an ECS-attached disk/Monitoring interval

byte_out = (rd_bytes - last_rd_bytes)/Time difference

≥ 0

ECS

5 minutes

disk_write_bytes_rate

Disk Write Bandwidth

Number of bytes written to an ECS-attached disk per second

Unit: byte/s

Formula: Total number of bytes written to an ECS-attached disk/Monitoring interval

≥ 0

ECS

5 minutes

disk_read_requests_rate

Disk Read IOPS

Number of read requests sent to an ECS-attached disk per second

Unit: request/s

Formula: Total number of read requests sent to an ECS-attached disk/Monitoring interval

req_out = (rd_req - last_rd_req)/Time difference

≥ 0

ECS

5 minutes

disk_write_requests_rate

Disk Write IOPS

Number of write requests sent to an ECS-attached disk per second

Unit: request/s

Formula: Total number of write requests sent to an ECS-attached disk/Monitoring interval

req_in = (wr_req - last_wr_req)/Time difference

≥ 0

ECS

5 minutes

network_incoming_bytes_rate_inband

Inband Incoming Rate

Number of incoming bytes on an ECS per second

Unit: byte/s

Formula: Total number of inband incoming bytes on an ECS/Monitoring interval

≥ 0

ECS

5 minutes

network_outgoing_bytes_rate_inband

Inband Outgoing Rate

Number of outgoing bytes on an ECS per second

Unit: byte/s

Formula: Total number of inband outgoing bytes on an ECS/Monitoring interval

≥ 0

ECS

5 minutes

network_incoming_bytes_aggregate_rate

Outband Incoming Rate

Number of incoming bytes on an ECS per second on the hypervisor

Unit: byte/s

Formula: Total number of outband incoming bytes on an ECS/Monitoring interval

This metric is unavailable if SR-IOV is enabled.

≥ 0

ECS

5 minutes

network_outgoing_bytes_aggregate_rate

Outband Outgoing Rate

Number of outgoing bytes on an ECS per second on the hypervisor

Unit: byte/s

Formula: Total number of outband outgoing bytes on an ECS/Monitoring interval

This metric is unavailable if SR-IOV is enabled.

≥ 0

ECS

5 minutes

network_vm_connections

Network Connections

Total number of TCP and UDP connections to an ECS

Unit: count

NOTE:

This metric is collected out-of-band and its value may be greater than the number of network connections queried in the OS.

≥ 0

ECS

5 minutes

network_vm_bandwidth_in

Inbound Bandwidth

Number of public and private bits received by the ECS per second

Unit: byte/s

≥ 0

ECS

5 minutes

network_vm_bandwidth_out

Outbound Bandwidth

Number of public and private bits sent by the ECS per second

Unit: byte/s

≥ 0

ECS

5 minutes

network_vm_pps_in

Inbound PPS

Number of public and private packets received by the ECS per second

Unit: packet/s

≥ 0

ECS

5 minutes

network_vm_pps_out

Outbound PPS

Number of public and private packets sent by the ECS per second

Unit: packet/s

≥ 0

ECS

5 minutes

network_vm_newconnections

New Connections

Number of new connections (including TCP, UDP, and ICMP) created on the ECS

Unit: count

≥ 0

ECS

5 minutes

Dimensions

Dimension

Key

Value

ECS

instance_id

Specifies the ECS ID.