1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00

Cherrypicking DITA prep tweaks previously added to 4.17 only

This commit is contained in:
Pan Ousley
2025-09-09 15:02:25 -04:00
committed by openshift-cherrypick-robot
parent ba83b2d7f3
commit ece5ca3d64

View File

@@ -31,7 +31,7 @@ A value above '0' means that the vCPU wants to run, but the host scheduler canno
To query the vCPU metric, the `schedstats=enable` kernel argument must first be applied to the `MachineConfig` object. This kernel argument enables scheduler statistics used for debugging and performance tuning and adds a minor additional load to the scheduler.
====
.Example vCPU wait time query
*Example vCPU wait time query*
[source,promql]
----
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_vcpu_wait_seconds_total[6m]))) > 0 <1>
@@ -50,7 +50,7 @@ Returns the total amount of traffic received (in bytes) on the virtual machine's
`kubevirt_vmi_network_transmit_bytes_total`::
Returns the total amount of traffic transmitted (in bytes) on the virtual machine's network. Type: Counter.
.Example network traffic query
*Example network traffic query*
[source,promql]
----
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_network_receive_bytes_total[6m])) + sum by (name, namespace) (rate(kubevirt_vmi_network_transmit_bytes_total[6m]))) > 0 <1>
@@ -71,7 +71,7 @@ Returns the total amount (in bytes) of the virtual machine's storage-related tra
`kubevirt_vmi_storage_write_traffic_bytes_total`::
Returns the total amount of storage writes (in bytes) of the virtual machine's storage-related traffic. Type: Counter.
.Example storage-related traffic query
*Example storage-related traffic query*
[source,promql]
----
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_storage_read_traffic_bytes_total[6m])) + sum by (name, namespace) (rate(kubevirt_vmi_storage_write_traffic_bytes_total[6m]))) > 0 <1>
@@ -87,7 +87,7 @@ Returns the total number of virtual machine disks restored from the source virtu
`kubevirt_vmsnapshot_disks_restored_from_source_bytes`::
Returns the amount of space in bytes restored from the source virtual machine. Type: Gauge.
.Examples of storage snapshot data queries
*Examples of storage snapshot data queries*
[source,promql]
----
kubevirt_vmsnapshot_disks_restored_from_source{vm_name="simple-vm", vm_namespace="default"} <1>
@@ -111,7 +111,7 @@ Returns the amount of write I/O operations the virtual machine is performing per
`kubevirt_vmi_storage_iops_write_total`::
Returns the amount of read I/O operations the virtual machine is performing per second. Type: Counter.
.Example I/O performance query
*Example I/O performance query*
[source,promql]
----
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_storage_iops_read_total[6m])) + sum by (name, namespace) (rate(kubevirt_vmi_storage_iops_write_total[6m]))) > 0 <1>
@@ -129,7 +129,7 @@ Returns the total amount (in bytes) of memory the virtual guest is swapping in.
`kubevirt_vmi_memory_swap_out_traffic_bytes`::
Returns the total amount (in bytes) of memory the virtual guest is swapping out. Type: Gauge.
.Example memory swapping query
*Example memory swapping query*
[source,promql]
----
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_memory_swap_in_traffic_bytes[6m])) + sum by (name, namespace) (rate(kubevirt_vmi_memory_swap_out_traffic_bytes[6m]))) > 0 <1>