-
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
Prometheus scaler add option to ignore null value #3073
Prometheus scaler add option to ignore null value #3073
Conversation
Signed-off-by: Xinzhu Zhou <bamboo12366@gmail.com>
Signed-off-by: Xinzhu Zhou <bamboo12366@gmail.com>
Signed-off-by: Xinzhu Zhou <bamboo12366@gmail.com>
Signed-off-by: Xinzhu Zhou <bamboo12366@gmail.com>
Signed-off-by: Xinzhu Zhou <bamboo12366@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.
The change looks good in general. Thanks for this improvement
Some nits to be addressed:
- There is a test failing
TestPrometheusScalerCortexHeader
- Open a PR in keda-docs updating the doc about prometheus scaler (only in the latest version)
- Inline comment in changelog
Apart from that, IDK if it makes sense adding another e2e test to check this new behaviour, WDYT?
Signed-off-by: Xinzhu Zhou <bamboo12366@gmail.com>
The changelog and TestPrometheusScalerCortexHeader already updated. |
Signed-off-by: Xinzhu Zhou <bamboo12366@gmail.com>
The PR related to keda-doc: kedacore/keda-docs#769 |
Signed-off-by: Xinzhu Zhou <bamboo12366@gmail.com>
/run-e2e prometheus* |
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, only 1 thing inline
Thanks for the improvement! ❤️
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, just a few nits.
@NaveLevi would be nice if you can take a look on this
Signed-off-by: Xinzhu Zhou <bamboo12366@gmail.com>
Static check fails as well: https://github.com/kedacore/keda/runs/6652557343?check_suite_focus=true#step:6:84 |
/run-e2e prometheus* |
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
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! ❤️
Provide a description of what has been changed
Checklist
Fixes #3065
Relates to #3064
Relates to kedacore/keda-docs#769 (docs)