-
Notifications
You must be signed in to change notification settings - Fork 15
feat(datadog-test-agent): add a method to set the remote config response #1194
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(datadog-test-agent): add a method to set the remote config response #1194
Conversation
We'd like to have integration tests in dd-trace-rs for our dynamic sample rates. Thus we'd like to set be able to configure the test agent to answer with a certain rc config
BenchmarksComparisonBenchmark execution time: 2025-08-29 16:53:57 Comparing candidate commit 03ba50b in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 53 metrics, 2 unstable metrics. CandidateCandidate benchmark detailsGroup 1
Group 2
Group 3
Group 4
Group 5
Group 6
Group 7
Group 8
Group 9
Group 10
Group 11
Group 12
Group 13
Group 14
BaselineOmitted due to size. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1194 +/- ##
==========================================
+ Coverage 71.71% 71.76% +0.05%
==========================================
Files 349 349
Lines 55114 55141 +27
==========================================
+ Hits 39525 39572 +47
+ Misses 15589 15569 -20
🚀 New features to boost your workflow:
|
|
/merge |
|
View all feedbacks in Devflow UI.
This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
The expected merge time in
|
What does this PR do?
Add a method on the test agent client that sets the remote config response for a snapshot.
Motivation
We'd like to have integration tests in dd-trace-rs for our dynamic sample rates. Thus we'd like to set be able to configure the test agent to answer with a certain rc config
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.