sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Fall back to an unlabeled transaction when provider fails

Open ric-oliv opened this issue 1 month ago • 2 comments

If the transaction name provider callback throws, the transaction is dropped. Because a request URL may otherwise remain in the transaction name, this can also risk exposing PII.

  • Proposal from Alexander Dinauer: keep the transaction and use <unlabeled transaction> as the name when the callback errors.

Reported by Alexander Dinauer.

Action taken on behalf of Ricardo Oliveira.

ric-oliv avatar Oct 13 '26 07:10 ric-oliv

NET-865

linear-code[bot] avatar Oct 13 '26 07:10 linear-code[bot]

Reproduced in https://github.com/getsentry/repro/pull/95. Fix: https://github.com/getsentry/sentry-dotnet/pull/5941, waiting for review.

sentry-junior[bot] avatar Nov 16 '26 09:11 sentry-junior[bot]