Skip to content

Commit 63dac3e

Browse files
authored
removed 'enable tracing' (#10854)
1 parent baf837d commit 63dac3e

File tree

5 files changed

+1
-13
lines changed

5 files changed

+1
-13
lines changed

docs/platforms/dotnet/guides/aspnet/tracing/included-instrumentation.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ namespace AspNetMvc
4242
// When configuring for the first time, to see what the SDK is doing:
4343
o.Debug = true;
4444

45-
// This option will enable Sentry's tracing features. You still need to start transactions and spans.
46-
o.EnableTracing = true;
47-
4845
// Example sample rate for your transactions: captures 10% of transactions
4946
o.TracesSampleRate = 0.1;
5047
});

docs/platforms/dotnet/guides/blazor-webassembly/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var builder = WebAssemblyHostBuilder.CreateDefault(args);
3939
builder.UseSentry(options =>
4040
{
4141
options.Dsn = "___PUBLIC_DSN___";
42-
options.EnableTracing = true;
42+
options.TracesSampleRate = 0.1;
4343
// When configuring for the first time, to see what the SDK is doing:
4444
// options.Debug = true;
4545

platform-includes/configuration/config-intro/dotnet.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ SentrySdk.Init(options =>
2424
// Enabling this option is recommended for client applications only. It ensures all threads use the same global scope.
2525
options.IsGlobalModeEnabled = false;
2626

27-
// This option will enable Sentry's tracing features. You still need to start transactions and spans.
28-
options.EnableTracing = true;
29-
3027
// Example sample rate for your transactions: captures 10% of transactions
3128
options.TracesSampleRate = 0.1;
3229
});

platform-includes/getting-started-config/dotnet.aspnet.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ namespace AspNetMvc
2525
// Get ASP.NET integration
2626
o.AddAspNet();
2727

28-
// This option will enable Sentry's tracing features. You still need to start transactions and spans.
29-
o.EnableTracing = true;
30-
3128
// Example sample rate for your transactions: captures 10% of transactions
3229
o.TracesSampleRate = 0.1;
3330
});

platform-includes/getting-started-config/dotnet.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ SentrySdk.Init(options =>
2424
// Enabling this option is recommended for client applications only. It ensures all threads use the same global scope.
2525
options.IsGlobalModeEnabled = false;
2626

27-
// This option will enable Sentry's tracing features. You still need to start transactions and spans.
28-
options.EnableTracing = true;
29-
3027
// Example sample rate for your transactions: captures 10% of transactions
3128
options.TracesSampleRate = 0.1;
3229
});

0 commit comments

Comments
 (0)