-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
add pause metric in prometheus for scaledobject #5045
Conversation
Thank you for your contribution! 🙏 We will review your PR as soon as possible. While you are waiting, make sure to:
Learn more about: |
Hi @zroubalik here is my PR and I made all the fix referenced in #4446 |
Hi @zroubalik could you please review my PR |
tests/sequential/opentelemetry_metrics/opentelemetry_metrics_test.go
Outdated
Show resolved
Hide resolved
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.
Looking good! Only one stuff with changelog
@zroubalik PTAL too
/run-e2e sequential |
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.
Please make sure to only set/unset the Prometheus metrics for paused state in this PR. The functionality for pausing scaling is already there.
The original PR that you used as a source for your work is quite old, in the meantime there were changes in the code and in the way we pause ScaledObjects. For example see this PR: #4809
@zroubalik Could you please review my PR when you have the time. |
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.
Please make sure that your PR only includes necessary changes and doesn't contain unnecessary changes like empty lines etc.
tests/sequential/opentelemetry_metrics/opentelemetry_metrics_test.go
Outdated
Show resolved
Hide resolved
@zroubalik could you please review my PR again. as i have fixed all suggested changes. |
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.
@geoffrey1330 there are still unresolved comments on this PR
I will go ahead and mark all unresolved comments as resolved. |
No, it means that these things should be resolved. |
Resolved most of them. will check for the one's I'm yet to resolve. |
/run-e2e sequential |
@geoffrey1330 unfortunately the e2e has failed, have you tried to run it locally? |
Not yet. Let me try that now. |
@zroubalik I'm using |
/run-e2e sequential |
/run-e2e sequential |
@tomkerkhove Could you please trigger |
/run-e2e sequential |
Hi @zroubalik could you please trigger |
/run-e2e sequential |
@zroubalik I see the test failed but it passed successfully locally. |
Hi @zroubalik could you please trigger /run-e2e sequential as I've fixed all failing test |
/run-e2e sequential |
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
8bd0c4d
to
35c0412
Compare
Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
Hi @JorTurFer could you please trigger /run-e2e sequential the initial trigger passed successfully but I fixed DCO issue and would love to test e2e also on this new change |
/run-e2e sequential |
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Hi @zroubalik could you please review my PR as all e2e test passed successfully. |
Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
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!
@SpiritZhou , could you include this metric on your PR improving OTEL process once it's merged?
/run-e2e sequential |
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com>
/skip-e2e |
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
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com> Signed-off-by: Geoffrey Israel <israelgeoffrey13@gmail.com> Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Signed-off-by: anton.lysina <alysina@gmail.com>
Provide a description of what has been changed
Checklist
Fixes #
Relates to #4430
Relates to kedacore/keda-docs#1111