Skip to content

chore: update libdatadog revision to 27aa92cfeeca073d8730a8b4974bd3fdef7ddf3a#123

Merged
duncanpharvey merged 3 commits intomainfrom
duncan-harvey/libdatadog-rev-27aa92cfeeca073d8730a8b4974bd3fdef7ddf3a
Apr 23, 2026
Merged

chore: update libdatadog revision to 27aa92cfeeca073d8730a8b4974bd3fdef7ddf3a#123
duncanpharvey merged 3 commits intomainfrom
duncan-harvey/libdatadog-rev-27aa92cfeeca073d8730a8b4974bd3fdef7ddf3a

Conversation

@duncanpharvey
Copy link
Copy Markdown
Collaborator

@duncanpharvey duncanpharvey commented Apr 23, 2026

What does this PR do?

Update libdatadog revision to 27aa92cfeeca073d8730a8b4974bd3fdef7ddf3a.

Motivation

We want to support agent computed stats in the Serverless Compatibility Layer. Currently when the Datadog-Client-Computed-Stats header is sent it always disables agent computed stats, even when the value of the header is an empty string.

DataDog/libdatadog#1900

https://datadoghq.atlassian.net/browse/SVLS-8789

Additional Notes

Bumped rustls-webpki to 0.103.13 to fix failing cargo audit check.

Describe how to test/QA your changes

Added a debug log in a test build:

Before change with DD_TRACE_STATS_COMPUTATION_ENABLED=false

DEBUG datadog_trace_agent::trace_processor: Resolved tracer header tags: TracerHeaderTags { lang: "java", lang_version: "21.0.6", lang_interpreter: "OpenJDK 64-Bit Server VM", lang_vendor: "Microsoft", tracer_version: "1.61.1~e32291a78b", container_id: "", client_computed_top_level: true, client_computed_stats: true, dropped_p0_traces: 0, dropped_p0_spans: 0 }

After change with DD_TRACE_STATS_COMPUTATION_ENABLED=false

DEBUG datadog_trace_agent::trace_processor: Resolved tracer header tags: TracerHeaderTags { lang: "java", lang_version: "21.0.6", lang_interpreter: "OpenJDK 64-Bit Server VM", lang_vendor: "Microsoft", tracer_version: "1.61.1~e32291a78b", container_id: "", client_computed_top_level: true, client_computed_stats: false, dropped_p0_traces: 0, dropped_p0_spans: 0 }

@duncanpharvey duncanpharvey marked this pull request as ready for review April 23, 2026 14:56
Copilot AI review requested due to automatic review settings April 23, 2026 14:56
@duncanpharvey duncanpharvey requested review from a team as code owners April 23, 2026 14:56
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 the libdatadog git revision to pick up the upstream fix for handling an empty Datadog-Client-Computed-Stats header (so agent-computed stats are not incorrectly disabled), and refreshes the lockfile accordingly.

Changes:

  • Bump all libdatadog git dependencies to 27aa92cfeeca073d8730a8b4974bd3fdef7ddf3a.
  • Switch DefaultHttpClient import in the trace agent stats flusher to libdd-capabilities-impl.
  • Update rustls-webpki to 0.103.13 in Cargo.lock (audit fix).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
crates/datadog-trace-agent/src/stats_flusher.rs Updates the DefaultHttpClient import to the new libdatadog location.
crates/datadog-trace-agent/Cargo.toml Bumps libdatadog revisions and adds libdd-capabilities-impl dependency.
crates/datadog-serverless-compat/Cargo.toml Bumps libdd-trace-utils libdatadog revision.
crates/datadog-agent-config/Cargo.toml Bumps libdd-trace-obfuscation and libdd-trace-utils libdatadog revisions.
Cargo.lock Locks new libdatadog revisions, adds libdd-capabilities-impl entry, and bumps rustls-webpki.

@duncanpharvey duncanpharvey merged commit 1e0c4af into main Apr 23, 2026
31 checks passed
@duncanpharvey duncanpharvey deleted the duncan-harvey/libdatadog-rev-27aa92cfeeca073d8730a8b4974bd3fdef7ddf3a branch April 23, 2026 18:09
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.

3 participants