Skip to content

New SolarWinds Observability Scaler#6577

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

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

Conversation

@gantrior
Copy link
Contributor

@gantrior gantrior commented Feb 28, 2025

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
Copy link
Member

@zroubalik zroubalik left a comment

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
Copy link
Contributor Author

gantrior commented Mar 6, 2025

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
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
Copy link

stale bot commented May 16, 2025

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
Contributor Author

For reference more discussion here: #6576

@stale
Copy link

stale bot commented May 23, 2025

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 <tomas.panik@solarwinds.com>
@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
Copy link
Contributor Author

gantrior commented Jul 7, 2025

I fixed all the issues and updated PR.

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

@rickbrouwer
Copy link
Member

rickbrouwer commented Jul 9, 2025

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

@zroubalik
Copy link
Member

zroubalik commented Jul 21, 2025

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

gantrior added 2 commits July 22, 2025 18:36
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
@gantrior gantrior force-pushed the feat/solarwinds-scaler branch from 737865f to 927ca8a Compare July 22, 2025 16:37
@gantrior
Copy link
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
Copy link
Member

rickbrouwer commented Sep 9, 2025

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

Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
@gantrior gantrior force-pushed the feat/solarwinds-scaler branch from e687fbd to b54d82f Compare September 10, 2025 06:36
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
@rickbrouwer
Copy link
Member

rickbrouwer commented Sep 10, 2025

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

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

Copilot AI left a comment

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.

@zroubalik zroubalik mentioned this pull request Sep 18, 2025
22 tasks
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Tomas Panik <tomas.panik@gmail.com>
@keda-automation keda-automation requested a review from a team September 22, 2025 08:42
gantrior and others added 2 commits September 22, 2025 10:45
Signed-off-by: Tomas Panik <tomas.panik@solarwinds.com>
@gantrior
Copy link
Contributor Author

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

@zroubalik
Copy link
Member

zroubalik commented Sep 26, 2025

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

@gantrior
Copy link
Contributor Author

gantrior commented Sep 29, 2025

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

@rickbrouwer
Copy link
Member

rickbrouwer commented Sep 29, 2025

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

@rickbrouwer
Copy link
Member

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

@rickbrouwer
Copy link
Member

rickbrouwer commented Oct 1, 2025

/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 <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>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Dec 22, 2025
* 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>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Feb 13, 2026
* 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>
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