提供的指标

Incus 提供了许多实例指标和内部指标。有关如何使用这些指标的说明,请参阅如何监控指标

实例指标

提供以下实例指标

指标

描述

incus_cpu_effective_total

有效 CPU 的总数

incus_cpu_seconds_total{cpu="<cpu>", mode="<mode>"}

使用的 CPU 时间总数(以秒为单位)

incus_disk_read_bytes_total{device="<dev>"}

读取的字节总数

incus_disk_reads_completed_total{device="<dev>"}

已完成读取的总数

incus_disk_written_bytes_total{device="<dev>"}

写入的字节总数

incus_disk_writes_completed_total{device="<dev>"}

已完成写入的总数

incus_filesystem_avail_bytes{device="<dev>",fstype="<type>"}

可用空间(以字节为单位)

incus_filesystem_free_bytes{device="<dev>",fstype="<type>"}

空闲空间(以字节为单位)

incus_filesystem_size_bytes{device="<dev>",fstype="<type>"}

文件系统的大小(以字节为单位)

incus_memory_Active_anon_bytes

活动 LRU 列表上的匿名内存量

incus_memory_Active_bytes

活动 LRU 列表上的内存量

incus_memory_Active_file_bytes

活动 LRU 列表上的文件支持内存量

incus_memory_Cached_bytes

缓存内存量

incus_memory_Dirty_bytes

等待写入磁盘的内存量

incus_memory_HugepagesFree_bytes

hugetlb 的空闲内存量

incus_memory_HugepagesTotal_bytes

hugetlb 的已用内存量

incus_memory_Inactive_anon_bytes

非活动 LRU 列表上的匿名内存量

incus_memory_Inactive_bytes

非活动 LRU 列表上的内存量

incus_memory_Inactive_file_bytes

非活动 LRU 列表上的文件支持内存量

incus_memory_Mapped_bytes

映射内存量

incus_memory_MemAvailable_bytes

可用内存量

incus_memory_MemFree_bytes

空闲内存量

incus_memory_MemTotal_bytes

已用内存量

incus_memory_OOM_kills_total

内存不足导致的终止次数

incus_memory_RSS_bytes

匿名和交换缓存内存量

incus_memory_Shmem_bytes

交换支持的文件系统缓存数据的数量

incus_memory_Swap_bytes

已用交换内存量

incus_memory_Unevictable_bytes

不可驱逐的内存量

incus_memory_Writeback_bytes

排队等待同步到磁盘的内存量

incus_network_receive_bytes_total{device="<dev>"}

在给定接口上接收到的字节数

incus_network_receive_drop_total{device="<dev>"}

在给定接口上接收到的已丢弃字节数

incus_network_receive_errs_total{device="<dev>"}

在给定接口上接收到的错误数

incus_network_receive_packets_total{device="<dev>"}

在给定接口上接收到的数据包数

incus_network_transmit_bytes_total{device="<dev>"}

在给定接口上发送的字节数

incus_network_transmit_drop_total{device="<dev>"}

在给定接口上发送的已丢弃字节数

incus_network_transmit_errs_total{device="<dev>"}

在给定接口上发送的错误数

incus_network_transmit_packets_total{device="<dev>"}

在给定接口上发送的数据包数

incus_procs_total

正在运行的进程数

内部指标

提供以下内部指标

指标

描述

incus_go_alloc_bytes_total

分配的字节总数(即使已释放)

incus_go_alloc_bytes

已分配且仍在使用的字节数

incus_go_buck_hash_sys_bytes

分析桶哈希表使用的字节数

incus_go_frees_total

释放的总数

incus_go_gc_sys_bytes

垃圾回收系统元数据使用的字节数

incus_go_goroutines

当前存在的 goroutine 数

incus_go_heap_alloc_bytes

堆上已分配且仍在使用的字节数

incus_go_heap_idle_bytes

等待使用的堆字节数

incus_go_heap_inuse_bytes

正在使用的堆字节数

incus_go_heap_objects

已分配的对象数

incus_go_heap_released_bytes

已释放到操作系统的堆字节数

incus_go_heap_sys_bytes

从系统获取的堆字节数

incus_go_lookups_total

指针查找总数

incus_go_mallocs_total

mallocs 的总数

incus_go_mcache_inuse_bytes

mcache 结构正在使用的字节数

incus_go_mcache_sys_bytes

从系统获取的mcache结构体使用的字节数

incus_go_mspan_inuse_bytes

mspan结构体正在使用的字节数

incus_go_mspan_sys_bytes

从系统获取的mspan结构体使用的字节数

incus_go_next_gc_bytes

下次垃圾回收时堆的字节数

incus_go_other_sys_bytes

其他系统分配使用的字节数

incus_go_stack_inuse_bytes

栈分配器正在使用的字节数

incus_go_stack_sys_bytes

从系统获取的栈分配器使用的字节数

incus_go_sys_bytes

从系统获取的字节数

incus_operations_total

正在运行的操作数

incus_uptime_seconds

守护进程运行时间(以秒为单位)

incus_warnings_total

活动警告数