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
The following query can identify virtual machines that are waiting for Input/Output (I/O):
23
23
24
24
`kubevirt_vmi_vcpu_wait_seconds_total`::
25
-
Returns the wait time (in seconds) on I/O for vCPUs of a virtual machine. Type: Counter.
26
-
25
+
Returns the wait time (in seconds) on I/O for vCPUs of a virtual machine. Type: Counter.
27
26
28
27
A value above '0' means that the vCPU wants to run, but the host scheduler cannot run it yet. This inability to run indicates that there is an issue with I/O.
29
28
@@ -65,18 +64,20 @@ topk(3, sum by (name, namespace) (rate(kubevirt_vmi_network_receive_bytes_total[
65
64
=== Storage-related traffic
66
65
67
66
The following queries can identify VMs that are writing large amounts of data:
68
-
67
+
--
69
68
`kubevirt_vmi_storage_read_traffic_bytes_total`::
70
69
Returns the total amount (in bytes) of the virtual machine's storage-related traffic. Type: Counter.
Returns the total amount of storage writes (in bytes) of the virtual machine's storage-related traffic. Type: Counter.
73
+
--
74
74
75
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>
79
79
----
80
+
80
81
<1> This query returns the top 3 VMs performing the most storage traffic at every given moment over a six-minute time period.
81
82
82
83
[id="virt-storage-snapshot-data_{context}"]
@@ -134,10 +135,20 @@ Returns the total amount (in bytes) of memory the virtual guest is swapping out.
134
135
[source,promql]
135
136
----
136
137
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>
138
+
+
137
139
----
138
140
<1> This query returns the top 3 VMs where the guest is performing the most memory swapping at every given moment over a six-minute time period.
139
141
140
142
[NOTE]
141
143
====
142
144
Memory swapping indicates that the virtual machine is under memory pressure. Increasing the memory allocation of the virtual machine can mitigate this issue.
143
145
====
146
+
[id=virt-promql-AAQ-metrics_context]
147
+
== Monitoring AAQ operator metrics
148
+
The following metrics are exposed by the Application Aware Quota (AAQ) controller for monitoring resource quotas:
149
+
150
+
`kube_application_aware_resourcequota`::
151
+
Returns the current quota usage and the CPU and memory limits enforced by the AAQ Operator resources. Type: Gauge.
0 commit comments