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

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
@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

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
@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 <jorge_turrado@hotmail.es>
@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 <jorge_turrado@hotmail.es>

* Close gcp client on scaler closing

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* fix style

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
@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 <jorge_turrado@hotmail.es>

* Close gcp client on scaler closing

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* fix style

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
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 <jorge_turrado@hotmail.es>

* Close gcp client on scaler closing

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* fix style

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

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

Signed-off-by: Siva Guruvareddiar <sivagurunath@gmail.com>
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

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

Signed-off-by: Vinod Kumar Nair <vinod827@gmail.com>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

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

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* prepare changelog

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Signed-off-by: Siva Guruvareddiar <sivagurunath@gmail.com>
Signed-off-by: Vinod Kumar Nair <vinod827@gmail.com>
Co-authored-by: Siva Guruvareddiar <1725781+sguruvar@users.noreply.github.com>
Co-authored-by: Vinod Kumar <24762720+vinod827@users.noreply.github.com>
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 <jorge_turrado@hotmail.es>

* Close gcp client on scaler closing

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

* fix style

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>

---------

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Arun Yogesh <6723526+ArunYogesh@users.noreply.github.com>
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