Added missing thread metadata in V1 trace mapper. by AlexeyKuznetsov-DD · Pull Request #11227 · DataDog/dd-trace-java · GitHub
Skip to content

Added missing thread metadata in V1 trace mapper.#11227

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
alexeyk/v1-thread-attrs
Apr 29, 2026
Merged

Added missing thread metadata in V1 trace mapper.#11227
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
alexeyk/v1-thread-attrs

Conversation

@AlexeyKuznetsov-DD

Copy link
Copy Markdown
Contributor

What Does This Do

Adds missing thread-related metadata (thread name and id) to spans in the V1 trace mapper.

Motivation

While dogfooding the v1 protocol in a real application and inspecting traces in the Datadog Web UI, I noticed that the initial implementation in #10801 does not include thread metadata in spans.

Additional Notes

The v0.4 protocol already serializes these attributes, so the V1 implementation should align with that behavior.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD self-assigned this Apr 28, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD added comp: core Tracer core tag: no release notes Changes to exclude from release notes type: refactoring labels Apr 28, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD marked this pull request as ready for review April 28, 2026 22:44
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested a review from a team as a code owner April 28, 2026 22:44
@pr-commenter

pr-commenter Bot commented Apr 28, 2026

Copy link
Copy Markdown

@AlexeyKuznetsov-DD

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Apr 29, 2026

Copy link
Copy Markdown

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit b8e3bd6 into master Apr 29, 2026
573 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the alexeyk/v1-thread-attrs branch April 29, 2026 18:22
@github-actions github-actions Bot added this to the 1.62.0 milestone Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core tag: no release notes Changes to exclude from release notes type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants