Skip to content

Commit

Permalink
added 'before send transaction' to the common options
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes committed Jul 25, 2024
1 parent e86b3e0 commit 5b61329
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/platforms/dotnet/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,14 @@ The callback typically gets a second argument (called a "hint") which contains t

</ConfigKey>

<ConfigKey name="before-send-transaction">

This function is called with an SDK-specific transaction object, and can return a modified transaction object, or `null` to skip reporting the transaction. This can be used, for instance, for manual PII stripping before sending.

By the time <PlatformIdentifier name="before-send-transaction" /> is executed, all scope data has already been applied to the event. Further modification of the scope won't have any effect.

</ConfigKey>

## Transport Options

Transports are used to send events to Sentry. Transports can be customized to some degree to better support highly specific deployments.
Expand Down

0 comments on commit 5b61329

Please sign in to comment.