Skip to content

Commit 4cb5a8f

Browse files
committed
[4.19]Rename kubevirt_vmi_migration_disk_transfer_rate_bytes metric
The metric kubevirt_vmi_migration_disk_transfer_rate_bytes renamed, this PR refactoring the old metric name to the new one.
1 parent e0f0686 commit 4cb5a8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/observability/metrics/constants.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
KUBEVIRT_VMI_STATUS_ADDRESSES = "kubevirt_vmi_status_addresses{{name='{vm_name}'}}"
1717
KUBEVIRT_VMI_MIGRATION_DATA_PROCESSED_BYTES = "kubevirt_vmi_migration_data_processed_bytes{{name='{vm_name}'}}"
1818
KUBEVIRT_VMI_MIGRATION_DATA_REMAINING_BYTES = "kubevirt_vmi_migration_data_remaining_bytes{{name='{vm_name}'}}"
19-
KUBEVIRT_VMI_MIGRATION_DISK_TRANSFER_RATE_BYTES = "kubevirt_vmi_migration_disk_transfer_rate_bytes{{name='{vm_name}'}}"
19+
KUBEVIRT_VMI_MIGRATION_MEMORY_TRANSFER_RATE_BYTES = (
20+
"kubevirt_vmi_migration_memory_transfer_rate_bytes{{name='{vm_name}'}}"
21+
)
2022
KUBEVIRT_VMI_MIGRATION_DIRTY_MEMORY_RATE_BYTES = "kubevirt_vmi_migration_dirty_memory_rate_bytes{{name='{vm_name}'}}"
2123
KUBEVIRT_VM_DISK_ALLOCATED_SIZE_BYTES = "kubevirt_vm_disk_allocated_size_bytes{{name='{vm_name}'}}"
2224
KUBEVIRT_VMI_MIGRATIONS_IN_SCHEDULING_PHASE = "kubevirt_vmi_migrations_in_scheduling_phase"

0 commit comments

Comments
 (0)