feat: update libdatadog revision to 0a3304c6aaf84738786b670d706a01edc22dab81#132
Merged
duncanpharvey merged 1 commit intoMay 15, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates this repo’s libdatadog git dependencies to revision 0a3304c6aaf84738786b670d706a01edc22dab81, aligning the trace agent code with upstream libdatadog API changes (notably around capabilities used for sending traces/stats).
Changes:
- Bumps
libdd-*git dependency revisions across affected crates and updatesCargo.lockaccordingly. - Migrates the trace flusher HTTP client impl from
HttpClientTraittoHttpClientCapability, and adds aSleepCapabilityimpl required by the updated send/retry logic. - Switches stats flushing to use
NativeHttpClient(fromlibdd_capabilities_impl) when submitting stats payloads.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| crates/datadog-trace-agent/src/trace_flusher.rs | Updates proxy HTTP client to new libdd_capabilities traits and adds SleepCapability implementation. |
| crates/datadog-trace-agent/src/stats_flusher.rs | Uses NativeHttpClient for stats_utils::send_stats_payload after lib upgrade. |
| crates/datadog-trace-agent/Cargo.toml | Bumps all libdd-* git revs to the new libdatadog commit. |
| crates/datadog-serverless-compat/Cargo.toml | Bumps libdd-trace-utils git rev to match new libdatadog commit. |
| crates/datadog-metrics-collector/Cargo.toml | Bumps libdd-common git rev to match new libdatadog commit. |
| crates/datadog-agent-config/Cargo.toml | Bumps libdd-trace-obfuscation and libdd-trace-utils git revs to match new libdatadog commit. |
| Cargo.lock | Locks new libdatadog sources and updated transitive deps introduced by the bump. |
duncanista
approved these changes
May 15, 2026
Chronobreak
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Updates libdatadog revision to DataDog/libdatadog@0a3304c.
Motivation
https://datadoghq.atlassian.net/browse/SVLS-9006
Additional Notes
Describe how to test/QA your changes
Invoked .NET functions that undercounted some stats by version and validated that all trace stats submitted to intake have a version.
With 50% sampling enabled:
DD_TRACE_SAMPLING_RULES: [{"sample_rate":0.5}]