-
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
Improve AWS Cloudwatch Scaler metric exporting logic #2243
Conversation
Signed-off-by: Xiayang Wu <xwu@rippling.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.
Generally seems to be ok, could you please add unit tests for the new functionality and modify documentation on kedacore/keda-docs? Thanks
Signed-off-by: Xiayang Wu <xwu@rippling.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! Thanks a ton for the changes :)
Could you please update docs and fix the linter problems? https://github.com/kedacore/keda/runs/4089628384?check_suite_focus=true |
Signed-off-by: Xiayang Wu <xwu@rippling.com>
@fivesheep fyi you can run the static check locally if you configur |
Signed-off-by: Xiayang Wu <xwu@rippling.com>
Signed-off-by: Xiayang Wu <xwu@rippling.com>
Signed-off-by: Xiayang Wu <xwu@rippling.com>
@JorTurFer a couple more changes were made to fix the linting issue. need to introduce two helper function to reduce the number of if-elses, please review again. thx! |
LGTM! |
One more thing, could you update the CHANGELOG please? |
Signed-off-by: Xiayang Wu <xwu@rippling.com>
There's a timeout on the failed check, not sure how to re-trigger it |
Thanks! :) |
Once comments on doc PR are resolved we can merge this :) |
Thanks a lot for the contribution! |
Signed-off-by: Xiayang Wu xwu@rippling.com
Provide a description of what has been changed
To address the issues mentioned in #2242
Checklist
Fixes #
metricEndTimeOffset
to allow skipping the most recent data point from cloudwatchmetricUnit
to allow passing a metric Unit which is needed by some metrics