更新时间:2025-06-27 GMT+08:00

基础指标:CCI2.0指标

介绍通过CCI2.0服务上报到AOM的指标的类别、名称、含义等信息。

表1 CCI2.0服务监控指标

指标类别

指标名称

指标含义

CPU

container_cpu_system_seconds_total

容器系统CPU总时长。

container_cpu_usage_seconds_total

容器在所有CPU内核上的累积占用时间。

container_cpu_user_seconds_total

容器用户CPU总时长。

container_cpu_cfs_periods_total

容器已经执行的CPU时间周期数。

container_cpu_cfs_throttled_periods_total

容器被限流的CPU时间周期数。

container_cpu_cfs_throttled_seconds_total

容器被限流的CPU时间。

文件系统/磁盘

container_fs_inodes_free

文件系统的可用inode数量。

container_fs_usage_bytes

文件系统的使用量。

container_fs_inodes_total

文件系统的总计inode数量。

container_fs_io_current

磁盘/文件系统当前正在进行的 I/O 数量。

container_fs_io_time_seconds_total

磁盘/文件系统花费在 I/O 上的累计秒数。

container_fs_io_time_weighted_seconds_total

磁盘/文件系统累积加权 I/O 时间。

container_fs_limit_bytes

容器可以使用的磁盘/文件系统总量。

container_fs_reads_bytes_total

容器累积读取磁盘/文件系统数据的总量。

container_fs_read_seconds_total

容器累积读取磁盘/文件系统数据的秒数。

container_fs_reads_merged_total

容器合并读取磁盘/文件系统的累积计数。

container_fs_reads_total

容器已完成读取磁盘/文件系统的累积计数。

container_fs_sector_reads_total

容器已完成扇区读取磁盘/文件系统的累积计数。

container_fs_sector_writes_total

容器已完成扇区写入磁盘/文件系统的累积计数。

container_fs_writes_bytes_total

容器累积写入磁盘/文件系统数据的总量。

container_fs_write_seconds_total

容器累计写入磁盘/文件系统的秒数。

container_fs_writes_merged_total

容器合并写入磁盘/文件系统的累积计数。

container_fs_writes_total

容器已完成写入磁盘/文件系统的累积计数。

container_blkio_device_usage_total

容器区分IO操作对磁盘的使用总量。

内存

container_memory_failures_total

容器内存分配失败的累积计数。

container_memory_failcnt

容器内存使用达到限制的次数。

container_memory_cache

容器总页缓存内存。

container_memory_mapped_file

容器内存映射文件的大小。

container_memory_max_usage_bytes

容器历史最大内存使用量。

container_memory_rss

容器常驻内存集的大小。

container_memory_swap

容器虚拟内存使用量。

container_memory_usage_bytes

容器当前的内存使用量。

container_memory_working_set_bytes

容器工作集内存使用量。

网络

container_network_receive_bytes_total

容器网络累积接收数据总量。

container_network_receive_errors_total

接收时遇到的错误累积计数。

container_network_receive_packets_dropped_total

接收时丢弃的数据包的累积计数。

container_network_receive_packets_total

接收数据包的累积计数。

container_network_transmit_bytes_total

容器网络累积传输数据总量。

container_network_transmit_errors_total

传输时遇到的错误累积计数。

container_network_transmit_packets_dropped_total

传输时丢弃的数据包的累积计数。

container_network_transmit_packets_total

传输数据包的累积计数。

容器spec/状态

container_processes

容器当前运行的进程数。

container_sockets

容器当前打开套接字的个数。

container_file_descriptors

容器打开的文件描述符数量。

container_threads

容器内当前运行的线程数。

container_threads_max

容器内允许运行的最大线程数。

container_ulimits_soft

容器内1号进程的软 ulimit 值。如果为-1,则无限制,优先级和nice除外。

container_spec_cpu_period

容器分配的CPU周期。

container_spec_cpu_shares

容器分配的CPU份额。

container_spec_cpu_quota

容器分配的CPU配额。

container_spec_memory_limit_bytes

容器可以使用的总内存量限制。

container_spec_memory_reservation_limit_bytes

容器可以使用的预留内存限制。

container_spec_memory_swap_limit_bytes

容器可以使用的虚拟内存限制。

container_start_time_seconds

容器已经运行的时间。

container_last_seen

最近一次监控采集器感知到容器的时间。

对象状态指标

kube_pod_info

Pod信息。

kube_pod_owner

Pod的Owner信息。

kube_pod_container_resource_limits

容器的资源limits。

kube_replicaset_owner

RS的所有者信息。