Skip to content

Commit 88ecd78

Browse files
authored
Merge pull request #98771 from ousleyp/vt-dita-tweaks
Cherrypicking DITA prep tweaks previously added to 4.17 only
2 parents daabbfd + 7c11fe0 commit 88ecd78

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/virt-querying-metrics.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ A value above '0' means that the vCPU wants to run, but the host scheduler canno
3232
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.
3333
====
3434

35-
.Example vCPU wait time query
35+
*Example vCPU wait time query*
3636
[source,promql]
3737
----
3838
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_vcpu_wait_seconds_total[6m]))) > 0 <1>
@@ -51,7 +51,7 @@ Returns the total amount of traffic received (in bytes) on the virtual machine's
5151
`kubevirt_vmi_network_transmit_bytes_total`::
5252
Returns the total amount of traffic transmitted (in bytes) on the virtual machine's network. Type: Counter.
5353

54-
.Example network traffic query
54+
*Example network traffic query*
5555
[source,promql]
5656
----
5757
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>
@@ -72,7 +72,7 @@ Returns the total amount (in bytes) of the virtual machine's storage-related tra
7272
`kubevirt_vmi_storage_write_traffic_bytes_total`::
7373
Returns the total amount of storage writes (in bytes) of the virtual machine's storage-related traffic. Type: Counter.
7474

75-
.Example storage-related traffic query
75+
*Example storage-related traffic query*
7676
[source,promql]
7777
----
7878
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>
@@ -88,7 +88,7 @@ Returns the total number of virtual machine disks restored from the source virtu
8888
`kubevirt_vmsnapshot_disks_restored_from_source_bytes`::
8989
Returns the amount of space in bytes restored from the source virtual machine. Type: Gauge.
9090

91-
.Examples of storage snapshot data queries
91+
*Examples of storage snapshot data queries*
9292
[source,promql]
9393
----
9494
kubevirt_vmsnapshot_disks_restored_from_source{vm_name="simple-vm", vm_namespace="default"} <1>
@@ -112,7 +112,7 @@ Returns the amount of write I/O operations the virtual machine is performing per
112112
`kubevirt_vmi_storage_iops_write_total`::
113113
Returns the amount of read I/O operations the virtual machine is performing per second. Type: Counter.
114114

115-
.Example I/O performance query
115+
*Example I/O performance query*
116116
[source,promql]
117117
----
118118
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>
@@ -130,7 +130,7 @@ Returns the total amount (in bytes) of memory the virtual guest is swapping in.
130130
`kubevirt_vmi_memory_swap_out_traffic_bytes`::
131131
Returns the total amount (in bytes) of memory the virtual guest is swapping out. Type: Gauge.
132132

133-
.Example memory swapping query
133+
*Example memory swapping query*
134134
[source,promql]
135135
----
136136
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>

0 commit comments

Comments
 (0)