Skip to content

feat(request-trace): native S3 sink for request-trace records (cherry-pick #11806) - #12619

Closed
dagil-nvidia wants to merge 1 commit into
release/1.4.0from
dagil-nvidia/cp-11806-s3-sink-140
Closed

feat(request-trace): native S3 sink for request-trace records (cherry-pick #11806)#12619
dagil-nvidia wants to merge 1 commit into
release/1.4.0from
dagil-nvidia/cp-11806-s3-sink-140

Conversation

@dagil-nvidia

@dagil-nvidia dagil-nvidia commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Cherry-pick of #11806 to release/1.4.0. Adds a native S3 RequestTraceSink that writes existing dynamo.request.trace.v1 records directly to a bucket, parallel to the OTLP sink. No schema change, no partitioning.

The original PR merged to main on 2026-07-30, two days after the v1.4.0 code freeze (2026-07-28), so it is not on the release branch and would otherwise slip to 1.5.0.

Applies cleanly onto release/1.4.0 with no conflicts.

Scope note

This is a feat, not a fix, so it lands post-freeze under TPM approval rather than automatically. Two things reviewers should weigh:

  • New third-party dependency. The AWS SDK is pulled in behind the new request-trace-s3 cargo feature (opt-in). This changes the SBOM surface and needs an SBOM regeneration plus a CVE rescan before GA.
  • Feature is gated. Without the request-trace-s3 feature the S3 sink returns a build-time error rather than silently no-op'ing, so the default build path is unchanged.

Original PR

Test plan

  • CI passes on release/1.4.0
  • Wheel build succeeds with the request-trace-s3 feature enabled
  • SBOM regenerated and CVE scan clean for the added AWS SDK crates

Open in Devin Review

Signed-off-by: Yiqiu Liu <yiqiuliu@amazon.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Dan Gil <dagil@nvidia.com>
@dagil-nvidia
dagil-nvidia requested review from a team as code owners August 4, 2026 01:36
@github-actions github-actions Bot added feat documentation Improvements or additions to documentation container labels Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Open in Devin Review

Comment thread lib/llm/src/request_trace/s3_sink.rs
@datadog-official

datadog-official Bot commented Aug 4, 2026

Copy link
Copy Markdown

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 43.82% (-4.58%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b84bcb3 | Docs | Datadog PR Page | Give us feedback!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b84bcb3507

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/llm/src/request_trace/s3_sink.rs
Comment thread lib/llm/src/request_trace/s3_sink.rs
@dagil-nvidia

Copy link
Copy Markdown
Collaborator Author

Closing: release/1.4.0 has moved past this pick (lockfile and wheel-builder conflicts with the RC5 train), and as a post-code-freeze feature it does not justify a redo with QA closing Aug 11. The feature is merged on main (#11806) and ships with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

container documentation Improvements or additions to documentation feat size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants