Skip to content

Commit 29e38ca

Browse files
Documented backpressure handling option for .NET
Resolves getsentry/sentry-dotnet#4452 - getsentry/sentry-dotnet#4452
1 parent d33a360 commit 29e38ca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/platforms/dotnet/common/configuration/options.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@ See the <PlatformLink to="/enriching-events/scopes/">Scopes and Hubs documentati
6969

7070
</ConfigKey>
7171

72+
<ConfigKey name="enable-backpressure-handling">
73+
74+
Specifies whether backpressure handling should be enabled or not.
75+
76+
When enabled, the sample rate for traces and errors will be reduced automatically when the SDK detects issues sending events to Sentry. Once the system is healthy again, the sample rate will be restored to the originally configured value.
77+
78+
Currently defaults to `false` (i.e. disabled), but will be enabled by default in a future version.
79+
80+
</ConfigKey>
81+
7282
<ConfigKey name="debug">
7383

7484
Turns debug mode on or off. If debug is enabled SDK will attempt to print out useful debugging information if something goes wrong with sending the event. The default is always `false`. It's generally not recommended to turn it on in production, though turning `debug` mode on will not cause any safety concerns.

0 commit comments

Comments
 (0)