Skip to content

[receiver/datadog] Reconstruct 128-bit trace IDs for spans regardless of order#49496

Open
SpencerTorres wants to merge 3 commits into
open-telemetry:mainfrom
SpencerTorres:datadog-traces-128bit-ordering
Open

[receiver/datadog] Reconstruct 128-bit trace IDs for spans regardless of order#49496
SpencerTorres wants to merge 3 commits into
open-telemetry:mainfrom
SpencerTorres:datadog-traces-128bit-ordering

Conversation

@SpencerTorres

Copy link
Copy Markdown
Member

Description

This PR improves consistency in the trace IDs by iterating the payload so every span resolves to the same 128-bit ID
regardless of order. Depends on the existing receiver.datadogreceiver.Enable128BitTraceID feature gate which is enabled by default.

If this loop becomes a performance issue we can re-evaluate it in the future

Testing

Added unit tests

Authorship

  • I, a human, wrote this pull request description myself.

@SpencerTorres SpencerTorres force-pushed the datadog-traces-128bit-ordering branch from 58507d2 to ba64d79 Compare July 7, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant