Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions samples/Sentry.Samples.Console.Basic/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
// This option is recommended, which enables Sentry's "Release Health" feature.
options.AutoSessionTracking = true;

// This option is recommended for client applications only. It ensures all threads use the same global scope.
// If you are writing a background service of any kind, you should remove this.
options.IsGlobalModeEnabled = true;
// This option is recommended for client applications only. It ensures all threads use the same global scope.
// If you are writing a background service of any kind, you should remove this.
options.IsGlobalModeEnabled = true;

// This option tells Sentry to capture 100% of traces. You still need to start transactions and spans.
options.TracesSampleRate = 1.0;
// This option tells Sentry to capture 100% of traces. You still need to start transactions and spans.
options.TracesSampleRate = 1.0;

// This option enables Sentry Logs created via SentrySdk.Logger.
options.EnableLogs = true;
Expand Down
Loading