-
Notifications
You must be signed in to change notification settings - Fork 382
MON-3940: Add the collection of MTV migration metrics to Telemetry #2743
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
base: main
Are you sure you want to change the base?
Conversation
Continuation of https://issues.redhat.com/browse/MON-3940. Previous outdated PR: openshift#2461 As the previous PR was stale and the person who created the PR is not longer working on it, I recreated the PR. Ref: https://issues.redhat.com/browse/MTV-1370 Signed-off-by: Stefan Olenocin <[email protected]>
|
@solenoci: This pull request references MON-3940 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Hi @solenoci. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@solenoci: This pull request references MON-3940 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
| # | ||
| # cluster:mtv_migrations_status_total:max is the total number of VM migrations running on the cluster, | ||
| # labeled with {status}, {provider}, {mode}, and {target}. | ||
| - '{__name__="cluster:mtv_migrations_status_total:max"}' |
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.
ideally we want to ensure that we only send metrics with known label values (I'm not sure about the possible values for the provider` label).
| - '{__name__="cluster:mtv_migrations_status_total:max"}' | |
| - '{__name__="cluster:mtv_migrations_status_total:max",provider=~"ova|vsphere|openstack|openshift|ovirt"},target=~"Local|Remote",mode=~"Cold|Warm",status=~"Succeeded|Failed|Canceled"' |
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.
They are corrrect
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.
However we will add another provider soon, EC2
Signed-off-by: Stefan Olenocin <[email protected]>
|
Added planned provider that we are actively working on, but do not have the metric yet, and RCM migration mode (same story) for which we will add the metric really soon. |
simonpasquier
left a comment
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.
/lgtm
/hold for a final review by @janisz
|
/ok-to-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: simonpasquier, solenoci The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cc @jan--f |
|
@simonpasquier Are you sure you'd like me to review? I think I miss the context |
|
sorry @janisz that was a mistake! |
|
New changes are detected. LGTM label has been removed. |
Documentation/data-collection.md
Outdated
| # - target: "Local" or "Remote" | ||
| # - mode: "Cold", "Warm" or "RCM" | ||
| # - status: "Suceeded", "Failed" or "Canceled" | ||
| - '{__name__="cluster:mtv_migrations_status_total:max", provider=~"ova|vsphere|openstack|openshift|ovirt|awsec2", target=~"Local|Remote", mode=~"Cold|Warm|RCM", status=~"Succeeded|Failed|Canceled"}' |
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.
| - '{__name__="cluster:mtv_migrations_status_total:max", provider=~"ova|vsphere|openstack|openshift|ovirt|awsec2", target=~"Local|Remote", mode=~"Cold|Warm|RCM", status=~"Succeeded|Failed|Canceled"}' | |
| - '{__name__="cluster:mtv_migrations_status_total:sum", provider=~"ova|vsphere|openstack|openshift|ovirt|awsec2", target=~"Local|Remote", mode=~"Cold|Warm|RCM", status=~"Succeeded|Failed|Canceled"}' |
should change for all, replace all cluster:mtv_migrations_status_total:max to cluster:mtv_migrations_status_total:sum
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.
Right, sorry, changed for all.
Co-authored-by: Junqi Zhao <[email protected]>
|
@solenoci: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Continuation of https://issues.redhat.com/browse/MON-3940.
Previous outdated PR: #2461
As the previous PR was stale and the person who created the PR is not longer working on it, I recreated the PR.
Any required changes will go into this PR.
Ref: https://issues.redhat.com/browse/MTV-1370