Preset metric item reference

Last Updated: Aug 18, 2017

  1. “Sum” is the sum of values obtained in a statistical period. Take ECS Internet traffic measurement as an example. The unit is KB/min and the statistical period is 5 minutes. Then the returned result is the total traffic in 5 minutes.
  2. Interfaces of the new version support query of ECS basic metric data, whereas interfaces of the old version do not.
  3. OpenAPI supports the query of metric data from the last 31 days..
  4. Dimension for each parameter is a JSON string, for example, {"instanceId":"i-23gyb3kkd"}.

ECS metric reference

Basic metrics

  • No agent is required for obtaining and querying ECS basic metric data.
  • The project is named “acs_ecs_dashboard”, the sampling period is 60s, and the Period value is 60 or an integer multiple of 60.
  • The instanceId value for Dimensions is the instanceId of the ECS instance.
Metric Description Unit Dimensions Statistics
CPUUtilization CPU usage Percent instanceId Average, Minimum, and Maximum
InternetInRate Inbound public network bandwidth bits/s instanceId Average, Minimum, and Maximum
IntranetInRate Inbound private network bandwidth bits/s instanceId Average, Minimum, Maximum
InternetOutRate Outbound public network bandwidth bits/s instanceId Average, Minimum, and Maximum
IntranetOutRate Outbound private network bandwidth bits/s instanceId Average, Minimum, and Maximum
InternetOutRate_Percent Outbound public network bandwidth usage % instanceId Average
DiskReadBPS Total system disk read BPS Bps instanceId Average, Minimum, and Maximum
DiskWriteBPS Total system disk write BPS Bps instanceId Average, Minimum, and Maximum
DiskReadIOPS System disk read IOPS Count/Second instanceId Average, Minimum, and Maximum
DiskWriteIOPS System disk write IOPS Count/Second instanceId Average, Minimum, and Maximum
VPC_PublicIP_InternetInRate VPC - Inbound public network bandwidth bits/s instanceId Average, Minimum, and Maximum
VPC_PublicIP_InternetOutRate VPC - Outbound public network bandwidth bits/s instanceId Average, Minimum, and Maximum
VPC_PublicIP_InternetOutRate_Percent VPC - Outbound public network bandwidth usage % instanceId Average

Operating system metrics

Metrics of the new agent version

  • The minimum period value is 15s.
Metric Description Unit Dimensions Statistics
cpu_idle Host.cpu.idle, percentage of CPU in the idle state  % instanceId Average, Minimum, and Maximum
cpu_system Host.cpu.system, CPU usage of the current kernel space % instanceId Average, Minimum, and Maximum
cpu_user Host.cpu.user, CPU usage of the current user space % instanceId Average, Minimum, and Maximum
cpu_wait Host.cpu.iowait, percentage of CPU waiting for I/O operation % instanceId Average, Minimum, and Maximum
cpu_other Host.cpu.other, CPU usage of other items. Other types of CPU consumption are calculated using the formula Nice + SoftIrq + Irq + Stolen. % instanceId Average, Minimum, and Maximum
cpu_total Host.cpu.total, current total CPU usage % instanceId Average, Minimum, and Maximum
memory_totalspace Host.mem.total, total memory bytes instanceId Average, Minimum, and Maximum
memory_usedspace Host.mem.used, memory in use. The calculation formula is as follows: Memory occupied by user programs + Buffers + Cached. Buffers indicates the memory occupied by the buffer, and cached indicates the memory occupied by the cache. bytes instanceId Average, Minimum, and Maximum
memory_actualusedspace Host.mem.actualused, memory occupied by the user. The calculation formula is as follows: Used – Buffers – Cached. bytes instanceId Average, Minimum, and Maximum
memory_freespace Host.mem.free, available memory bytes instanceId Average, Minimum, and Maximum
memory_freeutilization Host.mem.freeutilization, percentage of available memory % instanceId Average, Minimum, and Maximum
memory_usedutilization Host.mem.usedutilization, memory usage % instanceId Average, Minimum, and Maximum
load_1m Host.load1, average system load during the past minute. This metric is not available in Windows. None instanceId Average, Minimum, and Maximum
load_5m Host.load5, average system load during the past 5 minutes. This metric is not available in Windows. None instanceId Average, Minimum, and Maximum
load_15m Host.load15, average system load during the past 15 minutes. This metric is not available in Windows. None instanceId Average, Minimum, and Maximum
diskusage_used Host.diskusage.used, disk space in use bytes instanceId, device Average, Minimum, and Maximum
diskusage_utilization Host.disk.utilization, disk usage % instanceId, device Average, Minimum, and Maximum
diskusage_free Host.diskusage.free, available disk space bytes/s instanceId, device Average, Minimum, and Maximum
diskusage_total Host.diskussage.total, total disk storage bytes instanceId, device Average, Minimum, and Maximum
disk_readbytes Host.disk.readbytes, number of bytes read from the disk per second bytes/s instanceId, device Average, Minimum, and Maximum
disk_writebytes Host.disk.writebytes, number of bytes written to the disk per second bytes/s instanceId, device Average, Minimum, and Maximum
disk_readiops Host.disk.readiops, number of read requests sent to the disk per second Requests/s instanceId, device Average, Minimum, and Maximum
disk_writeiops Host.disk.writeiops, number of write requests sent to the disk per second Requests/s instanceId, device Average, Minimum, and Maximum
fs_inodeutilization Host.fs.inode, inode usage % instanceId, device Average, Minimum, and Maximum
networkin_rate Host.netin.rate, number of bits received by the network adapter per second, that is, the uplink bandwidth of the network adapter bits/s instanceId, device Average, Minimum, and Maximum
networkout_rate Host.netout.rate, number of bits sent by the network adapter per second, that is, the downlink bandwidth of the network adapter bits/s instanceId, device Average, Minimum, and Maximum
networkin_packages Host.netin.packages, number of packets received by the network adapter per second Packets/s instanceId, device Average, Minimum, and Maximum
networkout_packages Host.netout.packages, number of packets sent by the network adapter per second Packets/s instanceId, device Average, Minimum, and Maximum
networkin_errorpackages Host.netin.errorpackage, number of incoming error packets detected by the drive Packets/s instanceId, device Average, Minimum, and Maximum
networkout_errorpackages Host.netout.errorpackages, number of outgoing error packets detected by the drive Packets/s instanceId, device Average, Minimum, and Maximum
net_tcpconnection Host.tcpconnection, number of TCP connections in various states, including LISTEN, SYN_SENT, ESTABLISHED, SYN_RECV, FIN_WAIT1, CLOSE_WAIT, FIN_WAIT2, LAST_ACK, TIME_WAIT, CLOSING, and CLOSED Connections instanceId, state Average, Minimum, and Maximum

ApsaraDB for RDS metric reference

  • The project is named “acs_rds_dashboard”, the default sampling period is 300s, and the Period value is 300 or an integer multiple of 300.
  • The minimum sampling period is 60s if 1-minute monitoring frequency is enabled on the RDS Console.
  • The instanceId value for Dimensions is the instanceId of the RDS instance.
Metric Description Unit Dimensions Statistics
CpuUsage CPU usage Percent instanceId, type= CpuUsage Average, Minimum, and Maximum
DiskUsage Disk usage Percent instanceId, type= DiskUsage Average, Minimum, and Maximum
IOPSUsage IOPS usage Percent instanceId, type= IOPSUsage Average, Minimum, and Maximum
ConnectionUsage Connection usage Percent instanceId, type= ConnectionUsage Average, Minimum, and Maximum
DataDelay Read-only instance latency Seconds instanceId, type=DataDelay Average, Minimum, and Maximum
MemoryUsage Memory usage Percent instanceId, type= MemoryUsage Average, Minimum, and Maximum
MySQL_NetworkInNew MysqlInbound network traffic per second bits/s instanceId Average, Minimum, and Maximum
MySQL_NetworkOutNew MysqlOutbound network traffic per second bits/s instanceId Average, Minimum, and Maximum
SQLServer_NetworkInNew SQLServer - inbound network traffic per second bits/s instanceId Average, Minimum, and Maximum
SQLServer_NetworkOutNew SQLServer - outbound network traffic per second bits/s instanceId Average, Minimum, and Maximum

Server Load Balancer metric reference

  • The project is named “acs_slb_dashboard”, the sampling period is 60s, and the Period value is 60 or an integer multiple of 60.
  • The instanceId value for Dimensions is the instanceId of the Server Load Balancer instance.
  • The port value for Dimensions is the Server Load Balancer instance port number.
  • The vip value for Dimensions is the Server Load Balancer instance service address.

Layer-4 protocol Metrics

Metric Description Unit Dimensions Statistics
HeathyServerCount Number of healthy backend ECS instances Count instanceId Average, Minimum, and Maximum
UnhealthyServerCount Number of faulty backend ECS instances Count instanceId Average, Minimum, and Maximum
PacketTX Number of outgoing packets per second on the port Count/Second instanceId, port, vip Average, Minimum, and Maximum
PacketRX Number of incoming packets per second on the port Count/second instanceId, port, vip Average, Minimum, and Maximum
TrafficRXNew Inbound data volume per second on the port bits/s instanceId, port, vip Average, Minimum, and Maximum
TrafficTXNew Outbound data volume per second on the port bits/s instanceId, port, vip Average, Minimum, and Maximum
ActiveConnection Number of active connections on the port, that is, the number of connections that clients set up to access Server Load Balancer Count instanceId, port, vip Average, Minimum, and Maximum
InactiveConnection Number of inactive connections on the port, that is, the number of connections that are idle after access to Server Load Balancer Count instanceId, port, vip Average, Minimum, and Maximum
NewConnection Current number of new connections on the port Count instanceId, port, vip Average, Minimum, and Maximum
MaxConnection Number of concurrent connections on the port Count instanceId, port, vip Average, Minimum, and Maximum
DropConnection Number of dropped connections per second during monitoring Count/Second instanceId, port, vip Average, Minimum, and Maximum
DropPacketRX Number of dropped incoming packets per second during monitoring Count/Second instanceId, port, vip Average, Minimum, and Maximum
DropPacketTX Number of dropped outgoing packets per second during monitoring Count/Second instanceId, port, vip Average, Minimum, and Maximum
DropTrafficRX Number of dropped incoming bits per second during monitoring bits/s instanceId, port, vip Average, Minimum, and Maximum
DropTrafficTX Number of dropped outgoing bits per second during monitoring bits/s instanceId, port, vip Average, Minimum, and Maximum
InstanceActiveConnection Number of active connections per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstanceDropConnection Number of dropped connections per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstanceDropPacketRX Number of dropped incoming packets per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstanceDropPacketTX Number of dropped outgoing packets per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstanceDropTrafficRX Number of dropped incoming bits per second on the instance bits/s instanceId Average, Minimum, and Maximum
InstanceDropTrafficTX Number of dropped outgoing bits per second on the instance bits/s instanceId Average, Minimum, and Maximum
InstanceInactiveConnection Number of inactive connections per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstanceMaxConnection Maximum number of concurrent connections per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstanceNewConnection Number of new connections per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstancePacketRX Number of incoming packets per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstancePacketTX Number of outgoing packets per second on the instance Count/Second instanceId Average, Minimum, and Maximum
InstanceTrafficRX Number of incoming bits per second on the instance bits/s instanceId Average, Minimum, and Maximum
InstanceTrafficTX Number of outgoing bits per second on the instance bits/s instanceId Average, Minimum, and Maximum

Layer-7 protocol Metrics

Metric 描述 单位 Dimensions Statistics
Qps Layer-7 protocol port QPS Count/Second instanceId, port, vip Average
Rt Layer-7 protocol port RT ms instanceId, port, vip Average
StatusCode2xx Layer-7 protocol port status code 2XX Count/Second instanceId, port, vip Average
StatusCode3xx Layer-7 protocol port status code 3XX Count/Second instanceId, port, vip Average
StatusCode4xx Layer-7 protocol port status code 4XX Count/Second instanceId, port, vip Average
StatusCode5xx Layer-7 protocol port status code 5XX Count/Second instanceId, port, vip Average
StatusCodeOther Layer-7 protocol port status code others Count/Second instanceId, port, vip Average
UpstreamCode4xx Layer-7 protocol port Upstream status code 4xx Count/Second instanceId, port, vip Average
UpstreamCode5xx Layer-7 protocol port Upstream status code 5xx Count/Second instanceId, port, vip Average
UpstreamRt Layer-7 protocol port UpstreamRT ms instanceId, port, vip Average
InstanceQps Layer-7 protocol instance QPS Count/Second instanceId Average
InstanceRt Layer-7 protocol instance RT ms instanceId Average
InstanceStatusCode2xx Layer-7 protocol instance status code 2XX Count/Second instanceId Average
InstanceStatusCode3xx Layer-7 protocol instance status code 3XX Count/Second instanceId Average
InstanceStatusCode4xx Layer-7 protocol instance status code 4XX Count/Second instanceId Average
InstanceStatusCode5xx Layer-7 protocol instance status code 5XX Count/Second instanceId Average
InstanceStatusCodeOther Layer-7 protocol instance status code Other Count/Second instanceId Average
InstanceUpstreamCode4xx Layer-7 protocol instance Upstream status code 4XX Count/Second instanceId Average
InstanceUpstreamCode5xx Layer-7 protocol instance Upstream status code 5XX Count/Second instanceId Average
InstanceUpstreamRt Layer-7 protocol instance UpstreamRT ms instanceId Average

OSS metric reference

For details, refer to OSS metric reference.

ApsaraDB for Memcache metric reference

  • The project is named “acs_ocs”, the sampling period is 60s, and the Period value is 60 or an integer multiple of 60.
  • The instanceId value for Dimensions is the instanceId of the Memcache instance.
Metric Description Unit Dimensions Statistics
Evict Amount of data the cache expels per second Count/Second instanceId Average, Minimum, and Maximum
HitRate Cache hit rate Percent instanceId Average, Minimum, and Maximum
IntranetIn Inbound bandwidth of the cache Bytes/s instanceId Average, Minimum, and Maximum
IntranetOut Outbound bandwidth of the cache Bytes instanceId Average, Minimum, and Maximum
ItemCount Number of cache data items Count instanceId Average, Minimum, and Maximum
UsedMemCache Cache in use Bytes instanceId Average, Minimum, and Maximum
UsedQps QPS in use Count instanceId Average, Minimum, and Maximum

EIP metric reference

  • The project is named “acs_vpc_eip”, the sampling period is 60s, and the Period value is 60 or an integer multiple of 60.
  • The instanceId value for Dimensions is the instanceId of the EIP instance.
  • The ip value for Dimensions is the EIP instance IP address.
Metric Description Unit Dimensions Statistics
net_tx.rate Outbound bandwidth Byte/s instanceId
net_rx.rate Inbound bandwidth Byte/s instanceId
net.txPkgs Number of outgoing packets Count instanceId Average, Minimum, and Maximum
net.rxPkgs Number of incoming packets Count instanceId Average, Minimum, and Maximum

ApsaraDB for Redis metric reference

  • The project is named “acs_kvstore”, the sampling period is 60s, and the Period value is 60 or an integer multiple of 60.
  • The instanceId value for Dimensions is the instanceId of the ApsaraDB for Redis instance.
Metric Description Unit Dimensions Statistics
MemoryUsage Percentage of memory in use Percent instanceId Average, Minimum, and Maximum
ConnectionUsage Percentage of connections in use percent instanceId Average, Minimum, and Maximum
IntranetInRatio Percentage of bandwidth consumed during write operations percent instanceId Average, Minimum, and Maximum
IntranetOutRatio Percentage of bandwidth consumed during read operations percent instanceId Average, Minimum, and Maximum
IntranetIn Write speed bits/s instanceId Average, Minimum, and Maximum
IntranetOut Read speed bits/s instanceId Average, Minimum, and Maximum
FailedCount Number of failed operations on ApsaraDB for Redis Count/second instanceId Average, Minimum, and Maximum
CpuUsage CPU usage percent instanceId Average, Minimum, and Maximum
UsedMemory Memory in use Bytes instanceId Average, Minimum, and Maximum

Message Service metric reference

  • The project is named “acs_mns_new”, the sampling period is 300s, and the Period value is 300 or an integer multiple of 300.
  • The region value for Dimensions is the region where the queue is located.
  • The queue value for Dimensions is the name of the queue.
Metric Description Unit Dimensions Statistics
ActiveMessages Number of active messages Count region,queue Average, Minimum, and Maximum
InactiveMessages Number of inactive messages Count region,queue Average, Minimum, and Maximum
DelayMessages Number of delayed messages Count region,queue Average, Minimum, and Maximum

Alibaba Cloud CDN metric reference

  • The project is named “acs_cdn”, the sampling period is 300s, and the Period value is 300 or an integer multiple of 300.
  • The instanceId value for Dimensions is the CDN domain.
Metric Description Unit Dimensions Statistics
QPS Queries per second, that is, total access requests in a specific time interval/Time interval Count instanceId Average, Minimum, and Maximum
BPS Peak bandwidth, that is, maximum network traffic per unit time bits/s instanceId Average, Minimum, and Maximum
hitRate Bytes hit rate, that is, the probability that request bytes hit the cache in a specific time interval Percent instanceId Average, Minimum, and Maximum
code4xx Percentage of HTTP Return Code 4xx in a specific time interval Percent instanceId Average, Minimum, and Maximum
code5xx Percentage of HTTP Return Code 5xx in a specific time interval Percent instanceId Average, Minimum, and Maximum
InternetOut Downstream traffic Bytes Average, Minimum, and Maximum

ApsaraDB for MongoDB metric reference

  • The project is named “acs_mongodb”, the sampling period is 300s, and the Period value is 300 or an integer multiple of 300.
  • The role value for Dimensions is “Primary” or “Secondary”, which indicates the master or slave instance.
Metric Metric name Description Unit Dimensions Statistics
CPUUtilization CPU usage CPU usage of the instance % userId, instanceId, role Average, Minimum, and Maximum
MemoryUtilization Memory usage Memory usage of the instance % userId, instanceId, role Average, Minimum, and Maximum
DiskUtilization Disk usage Disk usage of the instance % userId, instanceId, role Average, Minimum, and Maximum
IOPSUtilization IOPS usage IOPS usage of the instance % userId, instanceId, role Average, Minimum, and Maximum
ConnectionUtilization Connection usage Percentage of connections in use % userId, instanceId, role Average, Minimum, and Maximum
QPS Average SQL queries per second Average number of SQL queries per second on the MongoDB instance Queries userId, instanceId, role Average, Minimum, and Maximum
ConnectionAmount Connections in use Current number of connections that applications have established with the MongoDB instance Connections userId, instanceId, role Average, Minimum, and Maximum
InstanceDiskAmount Disk space used by instance Disk space used by the instance itself Bytes userId, instanceId, role Average, Minimum, and Maximum
DataDiskAmount Disk space used by data Disk space used by data Bytes userId, instanceId, role Average, Minimum, and Maximum
LogDiskAmount Disk space used by logs Disk space used by logs Bytes userId, instanceId, role Average, Minimum, and Maximum
IntranetIn Inbound network traffic Inbound network traffic of the instance Bytes userId, instanceId, role Average, Minimum, and Maximum
IntranetOut Outbound network traffic Outbound network traffic of the instance Bytes userId, instanceId, role Average, Minimum, and Maximum
NumberRequests Request count Total number of requests sent to the server Requests userId, instanceId, role Average, Minimum, and Maximum
OpInsert Insert operation count Total number of insert commands received since the last time MongoDB was started Times userId, instanceId, role Average, Minimum, and Maximum
OpQuery Query operation count Total number of query commands received since the last time MongoDB was started Times userId, instanceId, role Average, Minimum, and Maximum
OpUpdate Update operation count Total number of update commands received since the last time MongoDB was started Times userId, instanceId, role Average, Minimum, and Maximum
OpDelete Delete operation count Total number of delete commands executed since the last time MongoDB was started Times userId, instanceId, role Average, Minimum, and Maximum
OpGetmore Getmore operation count Total number of getmore commands executed since the last time MongoDB was started Times userId, instanceId, role Average, Minimum, and Maximum
OpCommand Command operation count Total number of commands sent to the database since the last time MongoDB was started Times userId, instanceId, role Average, Minimum, and Maximum

ExpressConnect metric reference

  • The project is named “acs_express_connect “, the sampling period is 60s, and the Period value is 60 or an integer multiple of 60.
  • The instanceId value for Dimensions is the interface ID of the ExpressConnect router.
Metric Metric name Unit Dimensions
IntranetRX Inbound network traffic Bytes instanceId
IntranetTX Outbound network traffic Bytes instanceId
ReceiveBandwidth Inbound network bandwidth bit/s instanceId
TransportedBandwidth Outbound network bandwidth bit/s instanceId
Thank you! We've received your feedback.