Skip to content
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

fix(gcp scalers): Restore previous time horizon to fix missing metrics and properly close the connecctions #5452

Merged
merged 3 commits into from
Feb 12, 2024

Conversation

JorTurFer
Copy link
Member

@JorTurFer JorTurFer commented Feb 1, 2024

Before changes in v2.13 related with GCP client, the time horizon for queries was 2m. We changed it by mistake and this PR restores the previous behaviour.

As customizing the value could make sense for different scenarios, I've created another issue to track supporting it (for next version): #5453

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #5429
Fixes #5448

@JorTurFer JorTurFer requested a review from a team as a code owner February 1, 2024 09:44
@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 1, 2024

/run-e2e gcp
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 1, 2024

/run-e2e gcp
Update: You can check the progress here

@JorTurFer JorTurFer changed the title fix(gcp scalers): Restore previous time horizon to fix missing metrics fix(gcp scalers): Restore previous time horizon to fix missing metrics and properly close the connecctions Feb 1, 2024
Signed-off-by: Jorge Turrado <[email protected]>
@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 1, 2024

/run-e2e gcp
Update: You can check the progress here

@JorTurFer JorTurFer merged commit dabd757 into kedacore:main Feb 12, 2024
23 checks passed
@JorTurFer JorTurFer deleted the gcp-issues branch February 12, 2024 22:20
JorTurFer added a commit to JorTurFer/keda that referenced this pull request Feb 29, 2024
…s and properly close the connecctions (kedacore#5452)

* fix(gcp scalers): Restore previous time horizon to fix missing metrics

Signed-off-by: Jorge Turrado <[email protected]>

* Close gcp client on scaler closing

Signed-off-by: Jorge Turrado <[email protected]>

* fix style

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
@JorTurFer JorTurFer mentioned this pull request Feb 29, 2024
5 tasks
JorTurFer added a commit to JorTurFer/keda that referenced this pull request Feb 29, 2024
…s and properly close the connecctions (kedacore#5452)

* fix(gcp scalers): Restore previous time horizon to fix missing metrics

Signed-off-by: Jorge Turrado <[email protected]>

* Close gcp client on scaler closing

Signed-off-by: Jorge Turrado <[email protected]>

* fix style

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
JorTurFer added a commit that referenced this pull request Feb 29, 2024
* fix(gcp scalers): Restore previous time horizon to fix missing metrics and properly close the connecctions (#5452)

* fix(gcp scalers): Restore previous time horizon to fix missing metrics

Signed-off-by: Jorge Turrado <[email protected]>

* Close gcp client on scaler closing

Signed-off-by: Jorge Turrado <[email protected]>

* fix style

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>

* fix(prometheus-scaler): AWS signv4 parses region if provided (#5421)

Signed-off-by: Siva Guruvareddiar <[email protected]>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>

* Fixed the issue#5484 with inaccurate version label in release asset (#5518)

Signed-off-by: Vinod Kumar Nair <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>

* fix: Place the changelog entry in unreleased section (#5519)

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>

* prepare changelog

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Siva Guruvareddiar <[email protected]>
Signed-off-by: Vinod Kumar Nair <[email protected]>
Co-authored-by: Siva Guruvareddiar <[email protected]>
Co-authored-by: Vinod Kumar <[email protected]>
ArunYogesh pushed a commit to ArunYogesh/keda that referenced this pull request Mar 1, 2024
…s and properly close the connecctions (kedacore#5452)

* fix(gcp scalers): Restore previous time horizon to fix missing metrics

Signed-off-by: Jorge Turrado <[email protected]>

* Close gcp client on scaler closing

Signed-off-by: Jorge Turrado <[email protected]>

* fix style

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Arun Yogesh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

keda-operator v2.13.0 leaks go routines gcp-pubsub throwing "could not find stackdriver metric"
2 participants