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

feat: Provide New Relic scaler #2286

Closed
wants to merge 1,259 commits into from
Closed

feat: Provide New Relic scaler #2286

wants to merge 1,259 commits into from

Conversation

marcelobartsch-jt
Copy link
Contributor

@marcelobartsch-jt marcelobartsch-jt commented Nov 15, 2021

Provide New Relic scaler.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Tests have been added
  • A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
  • A PR is opened to update the documentation on (repo) (if applicable)
  • Changelog has been updated

Relates to #2290

dependabot bot and others added 30 commits April 6, 2021 10:26
Bumps [k8s.io/code-generator](https://github.com/kubernetes/code-generator) from 0.20.4 to 0.20.5.
- [Release notes](https://github.com/kubernetes/code-generator/releases)
- [Commits](kubernetes/code-generator@v0.20.4...v0.20.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.4.3 to 1.5.2.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](golang/protobuf@v1.4.3...v1.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.20.4 to 0.20.5.
- [Release notes](https://github.com/kubernetes/api/releases)
- [Commits](kubernetes/api@v0.20.4...v0.20.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [k8s.io/metrics](https://github.com/kubernetes/metrics) from 0.20.4 to 0.20.5.
- [Release notes](https://github.com/kubernetes/metrics/releases)
- [Commits](kubernetes/metrics@v0.20.4...v0.20.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](go-sql-driver/mysql@v1.5.0...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1725)

Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-go/blob/master/CHANGELOG.md)
- [Commits](influxdata/influxdb-client-go@v2.2.2...v2.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.9.0...v1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.15.2 to 1.16.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v1.15.2...v1.16.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver) from 0.20.4 to 0.20.5.
- [Release notes](https://github.com/kubernetes/apiserver/releases)
- [Commits](kubernetes/apiserver@v0.20.4...v0.20.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.36.0 to 1.36.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.36.0...v1.36.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.42.0...v0.43.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.6.8 to 1.7.4.
- [Release notes](https://github.com/tidwall/gjson/releases)
- [Commits](tidwall/gjson@v1.6.8...v1.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.79.0 to 0.81.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md)
- [Commits](googleapis/google-cloud-go@v0.79.0...v0.81.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.10 to 1.38.13.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.38.10...v1.38.13)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Breaking changes to feature request

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Remove issue body

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update suggest scaler for breaking changes

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update bug report for breaking changes

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
* Add OpenStack Swift scaler e2e tests

Signed-off-by: Pedro Felipe Dominguite <p.dominguite@sidi.org.br>

Co-authored-by: Antonio Robson de Paula <robson.p@sidi.org.br>

* Add OpenStack helper class

This helper creates an HTTP client using Axios for querying a specific OpenStack project API such as Swift.

Signed-off-by: Pedro Felipe Dominguite <p.dominguite@sidi.org.br>

* Add OpenStack Swift helper class

This helper encapsulates the Swift API operations

Signed-off-by: Pedro Felipe Dominguite <p.dominguite@sidi.org.br>

* Add Axios dependency to package.json

Signed-off-by: Pedro Felipe Dominguite <p.dominguite@sidi.org.br>

* Add environment variables for OpenStack Swift scaler e2e tests

Signed-off-by: Pedro Felipe Dominguite <p.dominguite@sidi.org.br>

* Update CHANGELOG.md

Signed-off-by: Pedro Felipe Dominguite <p.dominguite@sidi.org.br>

* Change test environment variable names

Signed-off-by: Pedro Felipe Dominguite <p.dominguite@sidi.org.br>
* fix timer in scale loop

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

* update changelog

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
Signed-off-by: Troy <troydenorme@hotmail.com>
Signed-off-by: Pedro Felipe Dominguite <p.dominguite@sidi.org.br>
Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>

Context is lighter when running on remote docker server
Image was not reproducible
Azure ACR build ignore .git by default
* Adding HTTP timeout to the IBM MQ Scaler

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding to changelog

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* fixing tests

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
* bump deps

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

* bump deps

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
Signed-off-by: Jorge Turrado <jorge.turrado@docplanner.com>
Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! ❤️
Only small nits

pkg/scalers/newrelic_scaler_test.go Outdated Show resolved Hide resolved
pkg/scalers/newrelic_scaler.go Outdated Show resolved Hide resolved
tomkerkhove and others added 19 commits November 29, 2021 09:25
Never close Epic issues with our stale bot.

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
Signed-off-by: Marcelo Bartsch <marcelo.bartsch@letgo.com>
…2365)

Signed-off-by: Brandon Pinske <brandon.pinske@crowdstrike.com>
….4.0+incompatible (#2371)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2374)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Staffan Olsson <staffan@repos.se>
Clean up more test logs

Signed-off-by: Marcelo Bartsch <marcelo.bartsch@letgo.com>
Signed-off-by: Marcelo Bartsch <marcelo.bartsch@letgo.com>
Signed-off-by: Marcelo Bartsch <marcelo.bartsch@letgo.com>
@marcelobartsch-jt
Copy link
Contributor Author

sorry I screwup my local repo and corrupted it, so I needed to recreate the branch will re-open the PR asap

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.