VPC 虚拟服务器实例度量定义

下表定义了基本 VPC 虚拟服务器实例度量值。

CPU 监视度量

平均 CPU 使用百分比

所有 CPU 运行指令的平均时间百分比。

平均CPU使用率百分比指标元数据
元数据 描述
Metric name ibm_is_instance_average_cpu_usage_percentage
Metric type gauge
Value type percent
Segment by IBM IS Generation 2, resource name

CPU 使用率

自虚拟服务器实例启动以来,CPU 运行指令所耗用的累积总时间。

CPU使用率指标元数据
元数据 描述
Metric name ibm_is_instance_cpu_usage_nanoseconds
Metric type gauge
Value type second
Segment by IBM IS Generation 2, resource name, Virtual CPU index

CPU 使用百分比

CPU 运行指令的平均时间百分比。

平均CPU使用率指标元数据
元数据 描述
Metric name ibm_is_instance_cpu_usage_percentage
Metric type gauge
Value type percent
Segment by IBM IS Generation 2, resource name, Virtual CPU index

CPU 总使用率

自虚拟服务器实例启动以来在所有 CPU 上运行指令所耗用的累积时间。

CPU使用率指标元数据
元数据 描述
Metric name ibm_is_instance_total_cpu_usage_nanoseconds
Metric type gauge
Value type second
Segment by IBM IS Generation 2, resource name

CPU 总数

CPU 总数。

CPU总数 指标 元数据
元数据 描述
Metric name ibm_is_instance_cpus
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name

网络监视度量值

网络接口收到的字节数

自虚拟服务器实例启动以来,为网络接口接收的累计字节数。

平均CPU使用率百分比指标元数据
元数据 描述
Metric name ibm_is_instance_network_in_bytes
Metric type gauge
Value type byte
Segment by IBM IS Generation 2, resource name, MAC address of the network interface

网络接口发送的字节数

自虚拟服务器实例启动以来,为网络接口发送的累计字节数。

网络接口发送的字节数 指标 元数据
元数据 描述
Metric name ibm_is_instance_network_out_bytes
Metric type gauge
Value type byte
Segment by IBM IS Generation 2, resource name, MAC address of the network interface

网络接口收到的包数

自虚拟服务器实例启动以来,针对网络接口接收的累计包数。

网络接口接收的数据包数量 指标 元数据
元数据 描述
Metric name ibm_is_instance_network_in_packets
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name, MAC address of the network interface

网络接口发送的包数

自虚拟服务器实例启动以来,为网络接口发送的累计包数。

网络接口发送的数据包数量 指标 元数据
元数据 描述
Metric name ibm_is_instance_network_out_packets
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name, MAC address of the network interface

网络接口的接收错误数

自虚拟服务器实例启动以来,网络接口的累计接收错误数。

网络接口指标元数据接收错误数量
元数据 描述
Metric name ibm_is_instance_network_in_errors
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name, MAC address of the network interface

网络接口的发送错误数

自虚拟服务器实例启动以来网络接口的累计发送错误数。

网络接口指标元数据的发送错误数量
元数据 描述
Metric name ibm_is_instance_network_out_errors
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name, MAC address of the network interface

网络接口丢弃的入局包数

自虚拟服务器实例启动以来,网络接口丢弃的传入数据包的累计数量。

网络接口丢弃的传入数据包数量 指标 元数据
元数据 描述
Metric name ibm_is_instance_network_in_dropped_packets
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name, MAC address of the network interface

网络接口丢弃的出局包数

自虚拟服务器实例启动以来,网络接口丢弃的出站数据包的累计数量。

网络接口丢弃的传出数据包数量 指标 元数据
元数据 描述
Metric name ibm_is_instance_network_out_dropped_packets
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name, MAC address of the network interface

内存监视度量值

对于 IBM Cloud Hyper Protect Virtual Servers for IBM Cloud® Virtual Private Cloud 实例,无法收集内存度量值,因为 VPC 实例的 Hyper Protect Virtual Servers 是使用安全执行映像创建的,并且安全执行实例的内存不可访问。

可用内存

虚拟服务器实例的可用内存 (以千比字节 (1024 字节) 为单位)。

自由存储量度元数据
元数据 描述
Metric name ibm_is_instance_memory_free_kib
Metric type gauge
Value type byte
Segment by IBM IS Generation 2, resource name

内存使用率

虚拟服务器实例的已用内存百分比。

内存使用百分比指标元数据
元数据 描述
Metric name ibm_is_instance_memory_usage_percentage
Metric type gauge
Value type percent
Segment by IBM IS Generation 2, resource name

卷监视度量

卷的读取字节数

自虚拟服务器实例启动以来,为卷读取的累计字节数。

卷元数据元读取的字节数
元数据 描述
Metric name ibm_is_instance_volume_read_bytes
Metric type gauge
Value type byte
Segment by IBM IS Generation 2, resource name, disk name of the volume, ID of the volume

卷的写入字节数

自虚拟服务器实例启动以来,为卷写入的累积字节数。

为卷元数据写入的字节数
元数据 描述
Metric name ibm_is_instance_volume_write_bytes
Metric type gauge
Value type byte
Segment by IBM IS Generation 2, resource name, disk name of the volume, ID of the volume

卷的读请求数

自虚拟服务器实例启动以来针对卷的累计读请求数。

卷度量元数据的读取请求数量
元数据 描述
Metric name ibm_is_instance_volume_read_requests
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name, disk name of the volume, ID of the volume

卷的写请求数

自虚拟服务器实例启动以来针对卷的累积写请求数。

对卷度量元数据的写入请求数量
元数据 描述
Metric name ibm_is_instance_volume_write_requests
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name, disk name of the volume, ID of the volume

虚拟服务器实例监控指标

虚拟服务器实例状态

虚拟服务器实例的状态。 值 1 指示虚拟服务器实例正在运行。 -1 表示虚拟服务器实例已停止。0 表示未知值。

虚拟服务器的状态
元数据 描述
Metric name ibm_is_instance_running_state
Metric type gauge
Value type none
Segment by IBM IS Generation 2, resource name

分段的属性

全局属性

这些属性可用于对先前列出的所有度量进行分段。

可用于细分的属性
属性 属性名称 属性描述
Cloud type ibm_ctype 云类型的值为公共云、专用云或本地云
Location ibm_location 受监控资源的位置 - 可以是区域、数据中心或全球
Resource ibm_resource 由服务度量的资源-通常是标识名称或 GUID
Resource type ibm_resource_type 由服务度量的资源类型
Scope ibm_scope 与此度量相关联的帐户,组织或空间 GUID 的作用域
Service name ibm_service_name 生成此度量值的服务的名称

其他属性

这些属性可用于对一个或多个属性进行分段,如上表中所述。 有关细分选项,请参阅各个指标。

可用于细分一个或多个属性的属性
属性 属性名称 属性说明
Disk name of the volume ibm_is_disk_name 附加到虚拟服务器实例的卷的磁盘名称,对应于 'ls -l /dev/disk/by-id'
IBM IS Generation, 1 or 2 ibm_is_generation IBM IS Generation - 代表第一代(经典版),代表第二代(VPC版) 1 2
MAC address of the network interface ibm_is_mac_address 连接到虚拟服务器实例的相应网络接口的 MAC 地址
Network interface index ibm_is_nic_index 从 0 开始连接到虚拟服务器的网络接口的索引
Resource name ibm_is_resource_name 资源名称-例如,虚拟服务器实例名称
ID of the volume ibm_is_volume_id 连接到虚拟服务器实例的存储卷的 UUID
Virtual CPU index ibm_is_vcpu_index 虚拟服务器实例中虚拟 CPU 的索引,从 0 开始