Skip to content

New SolarWinds Observability Scaler#6577

Merged
wozniakjan merged 18 commits into
kedacore:mainfrom
gantrior:feat/solarwinds-scaler
Oct 1, 2025
Merged

New SolarWinds Observability Scaler#6577
wozniakjan merged 18 commits into
kedacore:mainfrom
gantrior:feat/solarwinds-scaler

Conversation

@gantrior

@gantrior gantrior commented Feb 28, 2025

Copy link
Copy Markdown
Contributor

Added SolarWinds Observability scaler

Checklist

Fixes #6576

PR to docs: kedacore/keda-docs#1545

TODOs:

  • Add E2E tests
  • Add PR to Docs

@gantrior gantrior changed the title feat: add solarwinds scaler New SolarWinds Observability Scaler Feb 28, 2025
@gantrior
gantrior force-pushed the feat/solarwinds-scaler branch 2 times, most recently from e6ac597 to 5c3a3a4 Compare March 3, 2025 08:28

@zroubalik zroubalik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great adddition, just FYI we plan to ship a new KEDA release in coming days (in case you would like to have this feature in)

@gantrior

gantrior commented Mar 6, 2025

Copy link
Copy Markdown
Contributor Author

Great adddition, just FYI we plan to ship a new KEDA release in coming days (in case you would like to have this feature in)

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.

@zroubalik

Copy link
Copy Markdown
Member

Great adddition, just FYI we plan to ship a new KEDA release in coming days (in case you would like to have this feature in)

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.

@stale

stale Bot commented May 16, 2025

Copy link
Copy Markdown

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.

@stale stale Bot added the stale All issues that are marked as stale due to inactivity label May 16, 2025
@gantrior

Copy link
Copy Markdown
Contributor Author

For reference more discussion here: #6576

@stale

stale Bot commented May 23, 2025

Copy link
Copy Markdown

This issue has been automatically closed due to inactivity.

@stale stale Bot closed this May 23, 2025
@zroubalik zroubalik reopened this Jul 2, 2025
@stale stale Bot removed the stale All issues that are marked as stale due to inactivity label Jul 2, 2025
@gantrior
gantrior force-pushed the feat/solarwinds-scaler branch 3 times, most recently from 547e838 to 33a4a72 Compare July 7, 2025 11:38
Signed-off-by: Tomas Panik <[email protected]>
@gantrior
gantrior force-pushed the feat/solarwinds-scaler branch from 33a4a72 to 0068120 Compare July 7, 2025 20:46
@gantrior
gantrior marked this pull request as ready for review July 7, 2025 21:33
@gantrior

gantrior commented Jul 7, 2025

Copy link
Copy Markdown
Contributor Author

I fixed all the issues and updated PR.

@zroubalik Could you please run E2E tests for solarwinds scaler?

Comment thread pkg/scalers/solarwinds_scaler.go Outdated
@rickbrouwer

rickbrouwer commented Jul 9, 2025

Copy link
Copy Markdown
Member

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

@zroubalik

zroubalik commented Jul 21, 2025

Copy link
Copy Markdown
Member

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

@gantrior
gantrior force-pushed the feat/solarwinds-scaler branch from 737865f to 927ca8a Compare July 22, 2025 16:37
@gantrior

Copy link
Copy Markdown
Contributor Author

@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?

@rickbrouwer

rickbrouwer commented Sep 9, 2025

Copy link
Copy Markdown
Member

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

Signed-off-by: Tomas Panik <[email protected]>
@gantrior
gantrior force-pushed the feat/solarwinds-scaler branch from e687fbd to b54d82f Compare September 10, 2025 06:36
Signed-off-by: Tomas Panik <[email protected]>
@rickbrouwer

rickbrouwer commented Sep 10, 2025

Copy link
Copy Markdown
Member

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

@zroubalik
zroubalik requested a review from Copilot September 18, 2025 10:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Comment thread pkg/scalers/solarwinds_scaler.go Outdated
Comment thread go.mod
Comment thread go.mod
@zroubalik zroubalik mentioned this pull request Sep 18, 2025
22 tasks
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tomas Panik <[email protected]>
@keda-automation
keda-automation requested a review from a team September 22, 2025 08:42
@gantrior

Copy link
Copy Markdown
Contributor Author

@zroubalik I fixed generated schema for new scaler, can you please take a look?

@zroubalik

zroubalik commented Sep 26, 2025

Copy link
Copy Markdown
Member

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

@gantrior

gantrior commented Sep 29, 2025

Copy link
Copy Markdown
Contributor Author

I fixed the merge conflicts. @zroubalik would it be possible to merge this and include it into upcoming release 2.18.0?

@rickbrouwer

rickbrouwer commented Sep 29, 2025

Copy link
Copy Markdown
Member

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

@rickbrouwer

Copy link
Copy Markdown
Member

I'm sorry, but there are again merge conflicts....

@rickbrouwer

rickbrouwer commented Oct 1, 2025

Copy link
Copy Markdown
Member

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

@rickbrouwer rickbrouwer added the ok-to-merge This PR can be merged label Oct 1, 2025
@wozniakjan
wozniakjan merged commit 46c2933 into kedacore:main Oct 1, 2025
25 checks passed
alt-dima pushed a commit to alt-dima/keda that referenced this pull request Dec 13, 2025
* feat: add `solarwinds` scaler

Signed-off-by: Tomas Panik <[email protected]>

* feat: Fixing E2E tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: Fixing order in changelog

Signed-off-by: Tomas Panik <[email protected]>

* feat: fixing solarwinds scaler tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: making GetMetricsAndActivity cleaner and fixing Changelog

Signed-off-by: Tomas Panik <[email protected]>

* feat: adding triggerIndex as suggested in code review

Signed-off-by: Tomas Panik <[email protected]>

* feat: fixing E2E tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: static analysis fix

Signed-off-by: Tomas Panik <[email protected]>

* improving error handling

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tomas Panik <[email protected]>

* feat: updating schema

Signed-off-by: Tomas Panik <[email protected]>

* feat: Updating go.sum after merge

Signed-off-by: Tomas Panik <[email protected]>

---------

Signed-off-by: Tomas Panik <[email protected]>
Signed-off-by: Tomas Panik <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Dmitriy Altuhov <[email protected]>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Dec 22, 2025
* feat: add `solarwinds` scaler

Signed-off-by: Tomas Panik <[email protected]>

* feat: Fixing E2E tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: Fixing order in changelog

Signed-off-by: Tomas Panik <[email protected]>

* feat: fixing solarwinds scaler tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: making GetMetricsAndActivity cleaner and fixing Changelog

Signed-off-by: Tomas Panik <[email protected]>

* feat: adding triggerIndex as suggested in code review

Signed-off-by: Tomas Panik <[email protected]>

* feat: fixing E2E tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: static analysis fix

Signed-off-by: Tomas Panik <[email protected]>

* improving error handling

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tomas Panik <[email protected]>

* feat: updating schema

Signed-off-by: Tomas Panik <[email protected]>

* feat: Updating go.sum after merge

Signed-off-by: Tomas Panik <[email protected]>

---------

Signed-off-by: Tomas Panik <[email protected]>
Signed-off-by: Tomas Panik <[email protected]>
Co-authored-by: Copilot <[email protected]>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Feb 13, 2026
* feat: add `solarwinds` scaler

Signed-off-by: Tomas Panik <[email protected]>

* feat: Fixing E2E tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: Fixing order in changelog

Signed-off-by: Tomas Panik <[email protected]>

* feat: fixing solarwinds scaler tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: making GetMetricsAndActivity cleaner and fixing Changelog

Signed-off-by: Tomas Panik <[email protected]>

* feat: adding triggerIndex as suggested in code review

Signed-off-by: Tomas Panik <[email protected]>

* feat: fixing E2E tests

Signed-off-by: Tomas Panik <[email protected]>

* feat: static analysis fix

Signed-off-by: Tomas Panik <[email protected]>

* improving error handling

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tomas Panik <[email protected]>

* feat: updating schema

Signed-off-by: Tomas Panik <[email protected]>

* feat: Updating go.sum after merge

Signed-off-by: Tomas Panik <[email protected]>

---------

Signed-off-by: Tomas Panik <[email protected]>
Signed-off-by: Tomas Panik <[email protected]>
Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-merge This PR can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support SolarWinds Scaler

6 participants