You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/virt-querying-metrics.adoc
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ A value above '0' means that the vCPU wants to run, but the host scheduler canno
32
32
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.
33
33
====
34
34
35
-
.Example vCPU wait time query
35
+
*Example vCPU wait time query*
36
36
[source,promql]
37
37
----
38
38
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
51
51
`kubevirt_vmi_network_transmit_bytes_total`::
52
52
Returns the total amount of traffic transmitted (in bytes) on the virtual machine's network. Type: Counter.
53
53
54
-
.Example network traffic query
54
+
*Example network traffic query*
55
55
[source,promql]
56
56
----
57
57
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
Returns the total amount of storage writes (in bytes) of the virtual machine's storage-related traffic. Type: Counter.
74
74
75
-
.Example storage-related traffic query
75
+
*Example storage-related traffic query*
76
76
[source,promql]
77
77
----
78
78
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
@@ -112,7 +112,7 @@ Returns the amount of write I/O operations the virtual machine is performing per
112
112
`kubevirt_vmi_storage_iops_write_total`::
113
113
Returns the amount of read I/O operations the virtual machine is performing per second. Type: Counter.
114
114
115
-
.Example I/O performance query
115
+
*Example I/O performance query*
116
116
[source,promql]
117
117
----
118
118
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.
130
130
`kubevirt_vmi_memory_swap_out_traffic_bytes`::
131
131
Returns the total amount (in bytes) of memory the virtual guest is swapping out. Type: Gauge.
132
132
133
-
.Example memory swapping query
133
+
*Example memory swapping query*
134
134
[source,promql]
135
135
----
136
136
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