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-live-migration-metrics.adoc
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,19 +8,18 @@
8
8
9
9
The following metrics can be queried to show live migration status:
10
10
11
-
`kubevirt_migrate_vmi_data_processed_bytes`:: The amount of guest operating system data that has migrated to the new virtual machine (VM). Type: Gauge.
11
+
`kubevirt_vmi_migration_data_processed_bytes`:: The amount of guest operating system data that has migrated to the new virtual machine (VM). Type: Gauge.
12
12
13
-
`kubevirt_migrate_vmi_data_remaining_bytes`:: The amount of guest operating system data that remains to be migrated. Type: Gauge.
13
+
`kubevirt_vmi_migration_data_remaining_bytes`:: The amount of guest operating system data that remains to be migrated. Type: Gauge.
14
14
15
-
`kubevirt_migrate_vmi_dirty_memory_rate_bytes`:: The rate at which memory is becoming dirty in the guest operating system. Dirty memory is data that has been changed but not yet written to disk. Type: Gauge.
15
+
`kubevirt_vmi_migration_memory_transfer_rate_bytes`:: The rate at which memory is becoming dirty in the guest operating system. Dirty memory is data that has been changed but not yet written to disk. Type: Gauge.
16
16
17
-
`kubevirt_migrate_vmi_pending_count`:: The number of pending migrations. Type: Gauge.
17
+
`kubevirt_vmi_migrations_in_pending_phase`:: The number of pending migrations. Type: Gauge.
18
18
19
-
`kubevirt_migrate_vmi_scheduling_count`:: The number of scheduling migrations. Type: Gauge.
19
+
`kubevirt_vmi_migrations_in_scheduling_phase`:: The number of scheduling migrations. Type: Gauge.
20
20
21
-
`kubevirt_migrate_vmi_running_count`:: The number of running migrations. Type: Gauge.
21
+
`kubevirt_vmi_migrations_in_running_phase`:: The number of running migrations. Type: Gauge.
22
22
23
-
`kubevirt_migrate_vmi_succeeded`:: The number of successfully completed migrations. Type: Gauge.
24
-
25
-
`kubevirt_migrate_vmi_failed`:: The number of failed migrations. Type: Gauge.
23
+
`kubevirt_vmi_migration_succeeded`:: The number of successfully completed migrations. Type: Gauge.
26
24
25
+
`kubevirt_vmi_migration_failed`:: The number of failed migrations. Type: Gauge.
Copy file name to clipboardExpand all lines: modules/virt-querying-metrics.adoc
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The following examples use `topk` queries that specify a time period. If virtual
17
17
18
18
The following query can identify virtual machines that are waiting for Input/Output (I/O):
19
19
20
-
`kubevirt_vmi_vcpu_wait_seconds`::
20
+
`kubevirt_vmi_vcpu_wait_seconds_total`::
21
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.
@@ -30,7 +30,7 @@ To query the vCPU metric, the `schedstats=enable` kernel argument must first be
30
30
.Example vCPU wait time query
31
31
[source,promql]
32
32
----
33
-
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_vcpu_wait_seconds[6m]))) > 0 <1>
33
+
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_vcpu_wait_seconds_total[6m]))) > 0 <1>
34
34
----
35
35
<1> This query returns the top 3 VMs waiting for I/O at every given moment over a six-minute time period.
36
36
@@ -76,7 +76,7 @@ topk(3, sum by (name, namespace) (rate(kubevirt_vmi_storage_read_traffic_bytes_t
Returns the total amount (in bytes) of memory the virtual guest is swapping out. Type: Gauge.
126
126
127
127
.Example memory swapping query
128
128
[source,promql]
129
129
----
130
-
topk(3, sum by (name, namespace) (rate(kubevirt_vmi_memory_swap_in_traffic_bytes_total[6m])) + sum by (name, namespace) (rate(kubevirt_vmi_memory_swap_out_traffic_bytes_total[6m]))) > 0 <1>
130
+
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>
131
131
----
132
132
<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.
0 commit comments