Skip to content

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

Open
jamescrosswell wants to merge 1 commit into
masterfrom
docs/dotnet-attachments-add-to-transactions
Open

feat(dotnet): document sending attachments with transactions#18741
jamescrosswell wants to merge 1 commit 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)
sentry-docs Ready Ready Preview Jul 16, 2026 4:08am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Jul 16, 2026 4:08am

Request Review

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.

1 participant