Skip to content

feat(dotnet): document sending attachments with transactions#18741

Merged
dingsdax merged 2 commits into
masterfrom
docs/dotnet-attachments-add-to-transactions
Jul 20, 2026
Merged

feat(dotnet): document sending attachments with transactions#18741
dingsdax merged 2 commits into
masterfrom
docs/dotnet-attachments-add-to-transactions

Conversation

@jamescrosswell

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

Documents the new opt-in addToTransactions flag on SentryAttachment in the .NET SDK (getsentry/sentry-dotnet#5182). By default, scope attachments are only sent with error events; this flag lets an attachment also be sent with transactions.

  • Add a "Sending Attachments with Transactions" subsection to the .NET Attachments page
  • Add a platform-includes/enriching-events/attachment-add-to-transactions/dotnet.mdx include with C# and F# examples

Note

Depends on getsentry/sentry-dotnet#5182, which is not yet released. The feature is available starting from the SDK version that ships that PR — please confirm/annotate the minimum version before merging.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Adds a subsection to the .NET Attachments page explaining the new
addToTransactions flag on SentryAttachment, with a C#/F# example.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview Jul 20, 2026 3:43pm
sentry-docs Ready Ready Preview Jul 20, 2026 3:43pm

Request Review

@codeowner-assignment
codeowner-assignment Bot requested a review from a team July 20, 2026 15:32
@dingsdax
dingsdax merged commit ec32cc1 into master Jul 20, 2026
23 checks passed
@dingsdax
dingsdax deleted the docs/dotnet-attachments-add-to-transactions branch July 20, 2026 15:48
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