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 metrics can be queried to show live migration status:
11
+
12
+
`kubevirt_migrate_vmi_data_processed_bytes`:: The amount of guest operating system (OS) data that has migrated to the new virtual machine (VM). Type: Gauge.
13
+
14
+
`kubevirt_migrate_vmi_data_remaining_bytes`:: The amount of guest OS data that remains to be migrated. Type: Gauge.
15
+
16
+
`kubevirt_migrate_vmi_dirty_memory_rate_bytes`:: The rate at which memory is becoming dirty in the guest OS. Dirty memory is data that has been changed but not yet written to disk. Type: Gauge.
17
+
18
+
`kubevirt_migrate_vmi_pending_count`:: The number of pending migrations. Type: Gauge.
19
+
20
+
`kubevirt_migrate_vmi_scheduling_count`:: The number of scheduling migrations. Type: Gauge.
21
+
22
+
`kubevirt_migrate_vmi_running_count`:: The number of running migrations. Type: Gauge.
23
+
24
+
`kubevirt_migrate_vmi_succeeded_total`:: The number of successfully completed migrations. Type: Gauge.
25
+
26
+
`kubevirt_migrate_vmi_failed_total`:: The number of failed migrations. Type: Gauge.
Copy file name to clipboardExpand all lines: modules/virt-querying-metrics.adoc
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The following examples use `topk` queries that specify a time period. If virtual
18
18
The following query can identify virtual machines that are waiting for Input/Output (I/O):
19
19
20
20
`kubevirt_vmi_vcpu_wait_seconds`::
21
-
Returns the wait time (in seconds) for a virtual machine's vCPU.
21
+
Returns the wait time (in seconds) for a virtual machine's vCPU. Type: Counter.
22
22
23
23
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.
24
24
@@ -40,10 +40,10 @@ topk(3, sum by (name, namespace) (rate(kubevirt_vmi_vcpu_wait_seconds[6m]))) > 0
40
40
The following queries can identify virtual machines that are saturating the network:
41
41
42
42
`kubevirt_vmi_network_receive_bytes_total`::
43
-
Returns the total amount of traffic received (in bytes) on the virtual machine's network.
43
+
Returns the total amount of traffic received (in bytes) on the virtual machine's network. Type: Counter.
44
44
45
45
`kubevirt_vmi_network_transmit_bytes_total`::
46
-
Returns the total amount of traffic transmitted (in bytes) on the virtual machine's network.
46
+
Returns the total amount of traffic transmitted (in bytes) on the virtual machine's network. Type: Counter.
47
47
48
48
.Example network traffic query
49
49
[source,promql]
@@ -61,10 +61,10 @@ topk(3, sum by (name, namespace) (rate(kubevirt_vmi_network_receive_bytes_total[
61
61
The following queries can identify VMs that are writing large amounts of data:
62
62
63
63
`kubevirt_vmi_storage_read_traffic_bytes_total`::
64
-
Returns the total amount (in bytes) of the virtual machine's storage-related traffic.
64
+
Returns the total amount (in bytes) of the virtual machine's storage-related traffic. Type: Counter.
* xref:../../virt/virtual_machines/virtual_disks/virt-creating-data-volumes.adoc#virt-customizing-storage-profile_virt-creating-data-volumes[Customizing the storage profile]
18
+
* xref:../../virt/virtual_machines/virtual_disks/virt-creating-data-volumes.adoc#virt-customizing-storage-profile_virt-creating-data-volumes[Customizing the storage profile]
Copy file name to clipboardExpand all lines: virt/logging_events_monitoring/virt-monitor-vmi-migration.adoc
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,3 +16,10 @@ You can monitor the progress of all live migrations on the xref:../../virt/virt-
16
16
You can view the migration metrics of a virtual machine on the xref:../../virt/virt-web-console-overview.adoc#ui-virtualmachine-details-metrics_virt-web-console-overview[*VirtualMachine details -> Metrics* tab] in the web console.
You can use xref:../../virt/logging_events_monitoring/virt-prometheus-queries.adoc#virt-prometheus-queries[Prometheus queries] to monitor live migration.
Copy file name to clipboardExpand all lines: virt/logging_events_monitoring/virt-prometheus-queries.adoc
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,11 @@
3
3
= Prometheus queries for virtual resources
4
4
include::_attributes/common-attributes.adoc[]
5
5
:context: virt-prometheus-queries
6
+
:toclevels: 4
6
7
7
8
toc::[]
8
9
9
-
{VirtProductName} provides metrics for monitoring how infrastructure resources are consumed in the cluster. The metrics cover the following resources:
10
-
11
-
* vCPU
12
-
* Network
13
-
* Storage
14
-
* Guest memory swapping
10
+
{VirtProductName} provides metrics that you can use to monitor the consumption of cluster infrastructure resources, including vCPU, network, storage, and guest memory swapping. You can also use metrics to query live migration status.
15
11
16
12
Use the {product-title} monitoring dashboard to query virtualization metrics.
0 commit comments