File tree Expand file tree Collapse file tree 5 files changed +1
-13
lines changed
docs/platforms/dotnet/guides
configuration/config-intro Expand file tree Collapse file tree 5 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,6 @@ namespace AspNetMvc
42
42
// When configuring for the first time, to see what the SDK is doing:
43
43
o .Debug = true ;
44
44
45
- // This option will enable Sentry's tracing features. You still need to start transactions and spans.
46
- o .EnableTracing = true ;
47
-
48
45
// Example sample rate for your transactions: captures 10% of transactions
49
46
o .TracesSampleRate = 0 . 1 ;
50
47
});
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ var builder = WebAssemblyHostBuilder.CreateDefault(args);
39
39
builder .UseSentry (options =>
40
40
{
41
41
options .Dsn = " ___PUBLIC_DSN___" ;
42
- options .EnableTracing = true ;
42
+ options .TracesSampleRate = 0 . 1 ;
43
43
// When configuring for the first time, to see what the SDK is doing:
44
44
// options.Debug = true;
45
45
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ SentrySdk.Init(options =>
24
24
// Enabling this option is recommended for client applications only. It ensures all threads use the same global scope.
25
25
options .IsGlobalModeEnabled = false ;
26
26
27
- // This option will enable Sentry's tracing features. You still need to start transactions and spans.
28
- options .EnableTracing = true ;
29
-
30
27
// Example sample rate for your transactions: captures 10% of transactions
31
28
options .TracesSampleRate = 0 . 1 ;
32
29
});
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ namespace AspNetMvc
25
25
// Get ASP.NET integration
26
26
o .AddAspNet ();
27
27
28
- // This option will enable Sentry's tracing features. You still need to start transactions and spans.
29
- o .EnableTracing = true ;
30
-
31
28
// Example sample rate for your transactions: captures 10% of transactions
32
29
o .TracesSampleRate = 0 . 1 ;
33
30
});
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ SentrySdk.Init(options =>
24
24
// Enabling this option is recommended for client applications only. It ensures all threads use the same global scope.
25
25
options .IsGlobalModeEnabled = false ;
26
26
27
- // This option will enable Sentry's tracing features. You still need to start transactions and spans.
28
- options .EnableTracing = true ;
29
-
30
27
// Example sample rate for your transactions: captures 10% of transactions
31
28
options .TracesSampleRate = 0 . 1 ;
32
29
});
You can’t perform that action at this time.
0 commit comments