This document aims to help users that are not familiar with all metrics exposed by different KubeVirt components.
All metrics documented here are auto-generated by the utility tool tools/doc-generator
and reflects exactly what is being exposed.
Version information.
The total Guest OS data processed and migrated to the new VM. Type: Gauge.
The remaining guest OS data to be migrated to the new VM. Type: Gauge.
The rate of memory being dirty in the Guest OS. Type: Gauge.
The rate at which the disk is being transferred. Type: Gauge.
The rate at which the memory is being transferred. Type: Gauge.
Indication for an operating virt-controller. Type: Gauge.
Indication for a virt-controller that is ready to take the lead. Type: Gauge.
The vcpu affinity details. Type: Counter.
Current balloon bytes. Type: Gauge.
Amount of usable
memory as seen by the domain. Type: Gauge.
The amount of memory in bytes allocated to the domain. The memory
value in domain xml file. Type: Gauge.
The number of page faults when disk IO was required. Type: Counter.
The number of other page faults, when disk IO was not required. Type: Counter.
Resident set size of the process running the domain. Type: Gauge.
Swap in memory traffic in bytes. Type: Gauge.
Swap out memory traffic in bytes. Type: Gauge.
Amount of unused
memory as seen by the domain. Type: Gauge.
The amount of memory which can be reclaimed by balloon without causing host swapping in bytes. Type: Gauge.
Amount of used
memory as seen by the domain. Type: Counter.
Network traffic receive in bytes. Type: Counter.
Network receive error packets. Type: Counter.
The number of rx packets dropped on vNIC interfaces. Type: Counter.
Network traffic receive packets. Type: Counter.
Deprecated. Type: Counter.
Network traffic transmit in bytes. Type: Counter.
Network transmit error packets. Type: Counter.
The number of tx packets dropped on vNIC interfaces. Type: Counter.
Network traffic transmit packets. Type: Counter.
Indication for a VirtualMachine that its eviction strategy is set to Live Migration but is not migratable. Type: Gauge.
Indication for the number of VirtualMachineInstance workloads that are not running within the most up-to-date version of the virt-launcher environment. Type: Gauge.
Sum of VMIs per phase and node.
phase
can be one of the following: [Pending
, Scheduling
, Scheduled
, Running
, Succeeded
, Failed
, Unknown
]. Type: Gauge.
Storage flush requests. Type: Counter.
Total time (ms) spent on cache flushing. Type: Counter.
I/O read operations. Type: Counter.
I/O write operations. Type: Counter.
Storage read operation time. Type: Counter.
Storage read traffic in bytes. Type: Counter.
Storage write operation time. Type: Counter.
Storage write traffic in bytes. Type: Counter.
Amount of time spent in each state by each vcpu. Where id
is the vcpu identifier and state
can be one of the following: [OFFLINE
, RUNNING
, BLOCKED
]. Type: Counter.
Amount of time spent by each vcpu while waiting on I/O. Type: Counter.
After developing new metrics or changing old ones, please run make generate
to regenerate this document.
If you feel that the new metric doesn't follow these rules, please change doc-generator
with your needs.