Skip to content

feat: update libdatadog revision to 0a3304c6aaf84738786b670d706a01edc22dab81#132

Merged
duncanpharvey merged 1 commit into
mainfrom
duncan-harvey/libdatadog-rev-0a3304c6aaf84738786b670d706a01edc22dab81
May 15, 2026
Merged

feat: update libdatadog revision to 0a3304c6aaf84738786b670d706a01edc22dab81#132
duncanpharvey merged 1 commit into
mainfrom
duncan-harvey/libdatadog-rev-0a3304c6aaf84738786b670d706a01edc22dab81

Conversation

@duncanpharvey
Copy link
Copy Markdown
Collaborator

@duncanpharvey duncanpharvey commented May 14, 2026

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.

plow "$url" -c 50 -n 50000
Screenshot 2026-05-15 at 10 02 59 AM

With 50% sampling enabled: DD_TRACE_SAMPLING_RULES: [{"sample_rate":0.5}]

Screenshot 2026-05-15 at 10 08 46 AM

@duncanpharvey duncanpharvey marked this pull request as ready for review May 15, 2026 14:09
@duncanpharvey duncanpharvey requested a review from a team as a code owner May 15, 2026 14:09
Copilot AI review requested due to automatic review settings May 15, 2026 14:09
@duncanpharvey duncanpharvey requested a review from a team as a code owner May 15, 2026 14:09
@duncanpharvey duncanpharvey requested review from Chronobreak and duncanista and removed request for a team May 15, 2026 14:09
Copy link
Copy Markdown
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

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 updates Cargo.lock accordingly.
  • Migrates the trace flusher HTTP client impl from HttpClientTrait to HttpClientCapability, and adds a SleepCapability impl required by the updated send/retry logic.
  • Switches stats flushing to use NativeHttpClient (from libdd_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.

@duncanpharvey duncanpharvey merged commit efc0d07 into main May 15, 2026
31 checks passed
@duncanpharvey duncanpharvey deleted the duncan-harvey/libdatadog-rev-0a3304c6aaf84738786b670d706a01edc22dab81 branch May 15, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants