Skip to content

docs(dotnet): document PreferTransactionNameProvider option#18677

Merged
jamescrosswell merged 5 commits into
masterfrom
docs/prefer-transaction-name-provider-5349
Jul 10, 2026
Merged

docs(dotnet): document PreferTransactionNameProvider option#18677
jamescrosswell merged 5 commits into
masterfrom
docs/prefer-transaction-name-provider-5349

Conversation

@jamescrosswell

@jamescrosswell jamescrosswell commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

Documents the new PreferTransactionNameProvider option added to the ASP.NET Core integration in getsentry/sentry-dotnet#5159, along with the existing TransactionNameProvider option it modifies (which was previously undocumented).

Both are added to the ASP.NET Core section of the .NET Configuration Options page.

  • Document TransactionNameProvider (callback used to name transactions for requests that don't resolve to a route template)
  • Document PreferTransactionNameProvider (bool, default false) — controls whether the provider runs on every request or only as a route-resolution fallback

closes: getsentry/sentry-dotnet#5349

Note for reviewers: availableSince is set to 6.7.0 (the next unreleased minor at time of writing). Assumes this matches the actual release that ships getsentry/sentry-dotnet#5159.

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: Release of sentry-dotnet v6.7.0
  • 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 the ASP.NET Core `TransactionNameProvider` and new
`PreferTransactionNameProvider` options to the .NET configuration
options page.

Ref getsentry/sentry-dotnet#5349

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

vercel Bot commented Jul 9, 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, Comment Jul 10, 2026 12:08am
sentry-docs Ready Ready Preview, Comment Jul 10, 2026 12:08am

Request Review

@codeowner-assignment codeowner-assignment Bot requested a review from a team July 9, 2026 01:26
@jamescrosswell jamescrosswell requested a review from Flash0ver July 9, 2026 01:39
@jamescrosswell jamescrosswell marked this pull request as ready for review July 9, 2026 01:39

@Flash0ver Flash0ver left a comment

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.

Two optional comments.
Merge after release of sentry-dotnet v6.7.0.

Comment thread docs/platforms/dotnet/common/configuration/options.mdx Outdated
Comment thread docs/platforms/dotnet/common/configuration/options.mdx Outdated
@codeowner-assignment codeowner-assignment Bot requested a review from a team July 9, 2026 23:45
jamescrosswell and others added 3 commits July 10, 2026 11:50
…name

Addresses review feedback: the TransactionNameProvider callback returns
only the route portion; Sentry prepends the uppercased HTTP method.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…vider-5349' into docs/prefer-transaction-name-provider-5349
@jamescrosswell jamescrosswell enabled auto-merge (squash) July 9, 2026 23:53
@jamescrosswell jamescrosswell merged commit b79f9b9 into master Jul 10, 2026
24 checks passed
@jamescrosswell jamescrosswell deleted the docs/prefer-transaction-name-provider-5349 branch July 10, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document PreferTransactionNameProvider option

2 participants