Skip to content

Commit

Permalink
fix(.NET): Added BeforeSendTransaction to common options (#10855)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes authored Jul 26, 2024
1 parent 63dac3e commit de80151
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 and 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 de80151

Please sign in to comment.