feat: add v1 isolated bricks for trace exporter - #2280
Conversation
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: 209a336 | Docs | Datadog PR Page | Give us feedback! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 16f08876b2
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
BenchmarksComparisonBenchmark execution time: 2026-08-12 13:02:15 Comparing candidate commit 209a336 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 139 metrics, 0 unstable metrics.
|
Artifact Size Benchmark Reportaarch64-alpine-linux-musl
aarch64-unknown-linux-gnu
libdatadog-x64-windows
libdatadog-x86-windows
x86_64-alpine-linux-musl
x86_64-unknown-linux-gnu
|
…terpretation # Conflicts: # libdd-trace-stats/src/span_concentrator/mod.rs
ajgajg1134
left a comment
There was a problem hiding this comment.
Looks like all my V1 related feedback was addressed :)
What does this PR do?
Adds v1-native equivalents of existing v0.4 pipeline helpers, as groundwork for making
v1::Span/v1::TraceChunkthe exporter's canonical internal type:trace_utils_v1::drop_chunksandTraceFilterer::filter_traces_v1(libdd-trace-utils)stats::add_spans_to_stats_v1/stats::process_traces_for_stats_v1(libdd-data-pipeline)Nothing is wired into the live pipeline yet.
Motivation
Part of APMSP-2812 : migration of the exporter from v0.4 to v1 with isolated bricks first before one final breaking PR that will handle the actual swap.
Additional Notes
Pure addition, no behavior change — these functions aren't called anywhere yet, so there's no regression risk.
State of the ticket
Done so far (in this PR)
Remaining (in a follow up PR)
Swap PR (with breaking changes)