-
Notifications
You must be signed in to change notification settings - Fork 51
Rename kubevirt_vmi_migration_disk_transfer_rate_bytes metric #2708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename kubevirt_vmi_migration_disk_transfer_rate_bytes metric #2708
Conversation
The metric kubevirt_vmi_migration_disk_transfer_rate_bytes renamed, this PR refactoring the old metric name to the new one.
WalkthroughRenames a test constant from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (11)📓 Common learnings📚 Learning: 2025-08-09T01:47:21.485ZApplied to files:
📚 Learning: 2025-09-29T19:05:24.987ZApplied to files:
📚 Learning: 2025-06-18T09:15:25.436ZApplied to files:
📚 Learning: 2025-06-10T11:41:36.366ZApplied to files:
📚 Learning: 2025-06-23T19:18:12.275ZApplied to files:
📚 Learning: 2025-06-23T19:24:28.327ZApplied to files:
📚 Learning: 2025-09-29T20:33:51.007ZApplied to files:
📚 Learning: 2025-08-04T15:27:14.175ZApplied to files:
📚 Learning: 2025-09-29T19:05:24.987ZApplied to files:
📚 Learning: 2025-09-08T21:34:28.924ZApplied to files:
🔇 Additional comments (1)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
albarker-rh can not be added as reviewer. Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the RedHatQE/openshift-virtualization-tests repository.: 422 {"message": "Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the RedHatQE/openshift-virtualization-tests repository.", "documentation_url": "https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request", "status": "422"} |
|
/verified |
Test execution plan request detailsCRITICAL: You MUST respond with a review comment on the Files Changed tab, NOT as a regular PR comment. As an expert software testing engineer, analyze all modified files in this PR and create a targeted test execution plan. Analysis Requirements:
Your deliverable: Test Execution Plan
Guidelines:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test Execution Plan
Affected Test:
tests/observability/metrics/test_migration_metrics.py::TestKubevirtVmiMigrationMetrics::test_kubevirt_vmi_migration_metrics
Rationale:
This PR renames the metric constant from KUBEVIRT_VMI_MIGRATION_DISK_TRANSFER_RATE_BYTES to KUBEVIRT_VMI_MIGRATION_MEMORY_TRANSFER_RATE_BYTES. The parametrized test uses this constant (specifically the test case marked with Polarion CNV-11598) and will verify:
- The renamed constant is correctly imported
- The new metric name is properly queried from Prometheus
- Migration metrics validation continues to work correctly
Test Coverage:
Running this single parametrized test case is sufficient as it directly validates the renamed metric constant in the context of VM migration monitoring.
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain@openshift-virtualization-qe-bot-3, I'll post the test execution plan as a review comment on the Files Changed tab. 🏁 Script executed: Length of output: 346 @openshift-virtualization-qe-bot-3, let me try a different approach to post the review comment. 🏁 Script executed: Length of output: 2171 🏁 Script executed: Length of output: 2566 @openshift-virtualization-qe-bot-3, I've successfully posted the test execution plan as a review comment on PR #2708. The review comment includes: Test Execution PlanAffected Test:
Rationale:
The review comment is now visible on the PR and can be viewed at: #2708 (review) 🧠 Learnings used |
|
/approve |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:latest published |
|
/cherry-pick cnv-4.20 |
##### Short description: The metric kubevirt_vmi_migration_disk_transfer_rate_bytes renamed, this PR refactoring the old metric name to the new one. ##### More details: ##### What this PR does / why we need it: ##### Which issue(s) this PR fixes: ##### Special notes for reviewer: ##### jira-ticket: https://issues.redhat.com/browse/CNV-55919 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Updated VM migration observability tests to reference and validate memory transfer rate measurements (replacing the previous disk transfer rate target), ensuring metrics reflect memory transfer behavior. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
Cherry-picked PR Rename kubevirt_vmi_migration_disk_transfer_rate_bytes metric into cnv-4.20 |
Short description:
The metric kubevirt_vmi_migration_disk_transfer_rate_bytes renamed, this PR refactoring the old metric name to the new one.
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket:
https://issues.redhat.com/browse/CNV-55919
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.