Updated on 2022-02-22 GMT+08:00

ECS Metrics

You do not need to install the Agent on an ECS to check basic monitoring metrics. The monitoring data is available in minutes after an ECS starts running.

Basic monitoring metric data is reported every 5 minutes.

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.

Table 1 Supported ECS metrics

Metric

Windows ECS

Linux ECS

N/A

Xen

KVM

Xen

KVM

CPU Usage

Memory Usage

√ (VMTools must be installed on the image. Otherwise, this metric is unavailable.)

x (Not supported)

Disk Usage

√ (VMTools must be installed on the image. Otherwise, this metric is unavailable.)

x (Not supported)

Disks Read Rate

Disks Write Rate

Disks Read Requests

Disks Write Requests

Inband Incoming Rate

√ (VMTools must be installed on the image. Otherwise, this metric is unavailable.)

x (Not supported)

Inband Outgoing Rate

√ (VMTools must be installed on the image. Otherwise, this metric is unavailable.)

x (Not supported)

Outband Incoming Rate

Outband Outgoing Rate

System Status Check Failed

×

×

Certain ECS metrics require the installation of VMTools on the image, based on which the ECS is created. For instructions about how to install VMTools, see https://github.com/UVP-Tools/UVP-Tools/.

Table 2 describes these ECS metrics.

Table 2 Metric description

Metric

Parameter

Description

Value Range

Monitored Object

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 VMTools installed.

Unit: Percent

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

≥ 0

ECS

5 minutes

disk_util_inband

Disk Usage

Disk usage of an ECS

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

Unit: Percent

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

≥ 0

ECS

5 minutes

disk_read_bytes_rate

Disk Read Bandwidth

Number of bytes read from an ECS disk per second

Unit: byte/s

Formula: Total number of bytes read from an ECS 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 disk per second

Unit: byte/s

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

≥ 0

ECS

5 minutes

disk_read_requests_rate

Disk Read IOPS

Number of read requests sent to an ECS disk per second

Unit: request/s

Formula: Total number of read requests sent to an ECS 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 disk per second

Unit: request/s

Formula: Total number of write requests sent to an ECS 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

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