-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add option to the Datadog scaler to use the Cluster Agent as proxy #5496
Conversation
76f8249
to
76a58a9
Compare
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. |
/run-e2e datadog |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arapulido any update on this, please?
@zroubalik I will now continue this work. I need to rebase and I will ask for reviews soon |
76a58a9
to
d3984a6
Compare
20e7540
to
66a1b57
Compare
@zroubalik this is ready to be reviewed. Thanks! |
/run-e2e datadog |
@zroubalik I have made some commits that fix the tests. They are currently working correctly in my local environment. Can you kick off running them in CI, please? Thanks! |
@zroubalik @JorTurFer hello! can you kick off the E2E tests for this PR, please? This one should be ready for review. Thanks! |
@zroubalik @tomkerkhove @JorTurFer Can we please rerun the e2e tests here, please? I would love to include this feature in the next KEDA release |
/run-e2e datadog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! 💪
Some nits inline :)
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
…ice IP Signed-off-by: Ara Pulido <[email protected]>
Signed-off-by: Ara Pulido <[email protected]>
acd1bdc
to
a9250ea
Compare
/run-e2e datadog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! PTAL @zroubalik
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great job @arapulido !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arapulido @JorTurFer is there anything we need to update in the docs? kedacore/keda-docs#1310
Nothing, that one is good to go as well. Thanks! |
/run-e2e datadog |
…edacore#5496) * Add new Datadog External scaler to talk to the DCA Signed-off-by: Ara Pulido <[email protected]> * Add ability to retrieve a metric value from the DCA Signed-off-by: Ara Pulido <[email protected]> * Use datadogmetric naming convention Signed-off-by: Ara Pulido <[email protected]> * Merge both Datadog scalers into one Signed-off-by: Ara Pulido <[email protected]> * Add authMode to the TriggerAuthentication Signed-off-by: Ara Pulido <[email protected]> * Add unit tests for Datadog scaler with Cluster Agent proxy Signed-off-by: Ara Pulido <[email protected]> * Fix activation Signed-off-by: Ara Pulido <[email protected]> * Add E2E tests for the Datadog scaler using the Cluster Agent proxy Signed-off-by: Ara Pulido <[email protected]> * Fixes after rebase Signed-off-by: Ara Pulido <[email protected]> * Rearrange Datadog tests Signed-off-by: Ara Pulido <[email protected]> * Fix linting errors Signed-off-by: Ara Pulido <[email protected]> * Keep token only auth Signed-off-by: Ara Pulido <[email protected]> * Remove references to ca metadata Signed-off-by: Ara Pulido <[email protected]> * remove trailing space Signed-off-by: Ara Pulido <[email protected]> * Add changelog entry for cluster agent as proxy feature Signed-off-by: Ara Pulido <[email protected]> * Fix activation parameter for Datadog API Signed-off-by: Ara Pulido <[email protected]> * Adjust Datadog test values Signed-off-by: Ara Pulido <[email protected]> * Fix typo in Datadog test Signed-off-by: Ara Pulido <[email protected]> * Make cluster agent metric server parameter mandatory Signed-off-by: Ara Pulido <[email protected]> * Use only service name and namespace to resolve the Cluster Agent service IP Signed-off-by: Ara Pulido <[email protected]> * Fix linting issues Signed-off-by: Ara Pulido <[email protected]> --------- Signed-off-by: Ara Pulido <[email protected]> Co-authored-by: Jorge Turrado Ferrero <[email protected]> Signed-off-by: Jorge Turrado <[email protected]>
Add option to the Datadog scaler to use the Datadog Cluster Agent as proxy to obtain the metrics, instead of calling the REST API directly.
This avoids duplication and also improves the rate limiting issue that the Datadog scaler currently has, as the Cluster Agent gets the metric values in batches.
Implements: #5355
Checklist
Fixes #5355
Docs: kedacore/keda-docs#1310