Skip to content

autoinstrumentation + dd otel compat mode#55

Merged
Andrew Kent (realark) merged 1 commit intomainfrom
ark/autoinstrumentation-dd-compat
Apr 1, 2026
Merged

autoinstrumentation + dd otel compat mode#55
Andrew Kent (realark) merged 1 commit intomainfrom
ark/autoinstrumentation-dd-compat

Conversation

@realark
Copy link
Copy Markdown
Collaborator

@realark Andrew Kent (realark) commented Mar 31, 2026

When datadog is running in otel mode, it hijacks otel tracer globals and replaces them with a dd shim. This PR re-enables trace reporting to braintrust by registering a datadog trace interceptor and sending a copy of all traces up to braintrust.

Likely, this will report a lot of uninteresting spans to braintrust, so we will also ship a flag to filter for only braintrust spans (in a separate fast-follow PR).

@realark Andrew Kent (realark) force-pushed the ark/autoinstrumentation-dd-compat branch 5 times, most recently from 2d083de to 03b4063 Compare March 31, 2026 17:55
@realark Andrew Kent (realark) changed the title wip -- initial interceptor autoinstrumentation + dd otel compat mode Mar 31, 2026
@realark Andrew Kent (realark) force-pushed the ark/autoinstrumentation-dd-compat branch 5 times, most recently from 480dd57 to 1370c63 Compare March 31, 2026 21:45
@realark Andrew Kent (realark) marked this pull request as ready for review March 31, 2026 21:46
@realark Andrew Kent (realark) force-pushed the ark/autoinstrumentation-dd-compat branch from 1370c63 to af7dcea Compare March 31, 2026 21:53
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

none of the comments block

@realark Andrew Kent (realark) force-pushed the ark/autoinstrumentation-dd-compat branch 4 times, most recently from 9340aeb to 3913170 Compare April 1, 2026 19:29
@realark Andrew Kent (realark) force-pushed the ark/autoinstrumentation-dd-compat branch from 3913170 to 8f55ca2 Compare April 1, 2026 19:39
@realark Andrew Kent (realark) merged commit 6bad5d7 into main Apr 1, 2026
3 checks passed
@realark Andrew Kent (realark) deleted the ark/autoinstrumentation-dd-compat branch April 1, 2026 19:46
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.

2 participants