Updated on 2024-01-11 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, seeTable 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/.

Table 1 Basic ECS metrics

Metric

Windows

Linux

None

Xen

KVM

Xen

KVM

CPU Usage

Supported

Supported

Supported

Supported

Memory Usage

Supported

Supported

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

Not supported

Disk Usage

Supported

Supported

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

Not supported

Disk Read Bandwidth

Supported

Supported

Supported

Supported

Disk Write Bandwidth

Supported

Supported

Supported

Supported

Disk Read IOPS

Supported

Supported

Supported

Supported

Disk Write IOPS

Supported

Supported

Supported

Supported

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

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

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

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

Network Connections

Not supported

Supported

Not supported

Supported

Inbound Bandwidth

Not supported

Supported

Not supported

Supported

Outbound Bandwidth

Not supported

Supported

Not supported

Supported

Inbound PPS

Not supported

Supported

Not supported

Supported

Outbound PPS

Not supported

Supported

Not supported

Supported

New Connections

Not supported

Supported

Not supported

Supported

System Status Check Failed

Supported

Not supported

Supported

Not 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

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

inst_sys_status_error

System Status Check Failed

Status of the cloud platform for running ECSs, which can be 0 or 1

  • 0: The system is running properly. All check items are normal.
  • 1: The system is not running properly. At least one check item failed. When the power source of the physical server fails or the hardware/software becomes faulty, the check result is 1.

The system periodically checks the status and returns check results using value 0 or 1.

  • If the detected fault does not affect ECS functions, certain management operations performed on the ECS, such as starting, stopping, or specifications modifications, may be affected.
  • If the detected fault affects ECS functions, such as a server power supply failure, the system will recover the ECS as soon as possible.

0 or 1

ECS

5 minutes

Dimensions

Key

Value

instance_id

Specifies the ECS ID.