New SolarWinds Observability Scaler#6577
Conversation
solarwinds scalere6ac597 to
5c3a3a4
Compare
I would be happy to ship it in the release, unfortunatelly at the moment I do not have time to complete E2E testing part. I will work out the remaining TODOs as soon as I can and properly verify it, It is ok to have it as part of the next release. |
Not a problem, I completely understand. (Un)fortunately we have a policy to not merge scalers without e2e tests coverage. If we don't hit this release, we can definitely merge it in the next one. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
|
For reference more discussion here: #6576 |
|
This issue has been automatically closed due to inactivity. |
547e838 to
33a4a72
Compare
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
33a4a72 to
0068120
Compare
|
I fixed all the issues and updated PR. @zroubalik Could you please run E2E tests for |
|
/run-e2e solarwinds |
|
/run-e2e solarwinds |
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
737865f to
927ca8a
Compare
|
@zroubalik After some troubleshooting I figured out why the E2E test is failing, and updated scaler. The E2E test should pass now, can you please re-run? |
|
/run-e2e solarwinds |
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
e687fbd to
b54d82f
Compare
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
|
/run-e2e solarwinds |
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new SolarWinds Observability scaler for KEDA that enables autoscaling based on metrics from the SolarWinds Observability platform. It uses the official SolarWinds SDK to query metrics and make scaling decisions.
- New scaler implementation with support for metric aggregation, filtering, and configurable intervals
- Comprehensive test suite including unit tests and E2E integration tests
- Integration with KEDA's scaler builder system
Reviewed Changes
Copilot reviewed 7 out of 233 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/scalers/solarwinds_scaler.go | Core scaler implementation using SolarWinds SDK |
| pkg/scalers/solarwinds_scaler_test.go | Unit tests for metadata parsing and metric specification |
| pkg/scaling/scalers_builder.go | Registration of new scaler in KEDA's builder |
| tests/scalers/solarwinds/solarwinds_test.go | E2E integration tests with scale out/in scenarios |
| tests/.env | Environment variables for SolarWinds API configuration |
| go.mod | Added SolarWinds SDK dependency |
| CHANGELOG.md | Documentation of new scaler addition |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Tomas Panik <tomas.panik@gmail.com>
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
|
@zroubalik I fixed generated schema for new scaler, can you please take a look? |
|
/run-e2e solarwinds |
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
|
I fixed the merge conflicts. @zroubalik would it be possible to merge this and include it into upcoming release 2.18.0? |
|
/run-e2e solarwinds |
|
I'm sorry, but there are again merge conflicts.... |
|
/run-e2e solarwinds |
* feat: add `solarwinds` scaler Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Fixing E2E tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Fixing order in changelog Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: fixing solarwinds scaler tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: making GetMetricsAndActivity cleaner and fixing Changelog Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: adding triggerIndex as suggested in code review Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: fixing E2E tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: static analysis fix Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * improving error handling Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Tomas Panik <tomas.panik@gmail.com> * feat: updating schema Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Updating go.sum after merge Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> --------- Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> Signed-off-by: Tomas Panik <tomas.panik@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Dmitriy Altuhov <altuhovd@gmail.com>
* feat: add `solarwinds` scaler Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Fixing E2E tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Fixing order in changelog Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: fixing solarwinds scaler tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: making GetMetricsAndActivity cleaner and fixing Changelog Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: adding triggerIndex as suggested in code review Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: fixing E2E tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: static analysis fix Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * improving error handling Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Tomas Panik <tomas.panik@gmail.com> * feat: updating schema Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Updating go.sum after merge Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> --------- Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> Signed-off-by: Tomas Panik <tomas.panik@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* feat: add `solarwinds` scaler Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Fixing E2E tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Fixing order in changelog Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: fixing solarwinds scaler tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: making GetMetricsAndActivity cleaner and fixing Changelog Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: adding triggerIndex as suggested in code review Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: fixing E2E tests Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: static analysis fix Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * improving error handling Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Tomas Panik <tomas.panik@gmail.com> * feat: updating schema Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> * feat: Updating go.sum after merge Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> --------- Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com> Signed-off-by: Tomas Panik <tomas.panik@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Added SolarWinds Observability scaler
Checklist
Fixes #6576
PR to docs: kedacore/keda-docs#1545
TODOs: