-
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
feat(gcp-stackdriver): handling value if no timeseries is return #5345
Conversation
Signed-off-by: VAN KELST Baptiste <baptistevk@gmail.com>
Thank you for your contribution! 🙏 We will review your PR as soon as possible. While you are waiting, make sure to:
Learn more about: |
Signed-off-by: VAN KELST Baptiste <baptistevk@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.
Nice improvement!
Could you update the change log (you can link the PR if there isn't any issue tracking this)? It's an interesting and useful feature to reflect on it.
/run-e2e gcp |
Signed-off-by: VAN KELST Baptiste <baptistevk@gmail.com>
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Signed-off-by: lindmin <baptistevk@gmail.com>
/run-e2e gcp |
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 for your contribution!
…acore#5345) * feat(gcp-stackdriver): handling value if no timeseries is return Signed-off-by: VAN KELST Baptiste <baptistevk@gmail.com> * fix bad space Signed-off-by: VAN KELST Baptiste <baptistevk@gmail.com> * update changelog Signed-off-by: VAN KELST Baptiste <baptistevk@gmail.com> * Update pkg/scalers/gcp_stackdriver_scaler.go Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Signed-off-by: lindmin <baptistevk@gmail.com> --------- Signed-off-by: VAN KELST Baptiste <baptistevk@gmail.com> Signed-off-by: lindmin <baptistevk@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
Context: it's pretty common to see metric that have no value during some period that can be interpretate by 0.
So this pulling request adding an optional metadata
valueIfNull
. This value (if not empty) that will be used if there is no timeseries return by the gcp monitoring query.Checklist
Fixes #
Relates to #
kedacore/keda-docs#1285