Skip to content

Commit 57b9041

Browse files
authored
fix(samples): v7: Remove enableTracing from sample apps (#4990)
1 parent cf9975b commit 57b9041

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

samples/expo/app/_layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ Sentry.init({
8484
enableAutoSessionTracking: true,
8585
// For testing, session close when 5 seconds (instead of the default 30) in the background.
8686
sessionTrackingIntervalMillis: 5000,
87-
// This will capture ALL TRACES and likely use up all your quota
88-
enableTracing: true,
8987
tracesSampleRate: 1.0,
9088
tracePropagationTargets: ['localhost', /^\//, /^https:\/\//, /^http:\/\//],
9189
attachStacktrace: true,

samples/react-native-macos/src/App.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ Sentry.init({
9393
enableAutoSessionTracking: true,
9494
// For testing, session close when 5 seconds (instead of the default 30) in the background.
9595
sessionTrackingIntervalMillis: 30000,
96-
// This will capture ALL TRACES and likely use up all your quota
97-
enableTracing: true,
9896
tracesSampleRate: 1.0,
9997
tracePropagationTargets: ['localhost', /^\//, /^https:\/\//, /^http:\/\//],
10098
attachStacktrace: true,

samples/react-native/src/App.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ Sentry.init({
160160
enableAutoSessionTracking: true,
161161
// For testing, session close when 5 seconds (instead of the default 30) in the background.
162162
sessionTrackingIntervalMillis: 30000,
163-
// This will capture ALL TRACES and likely use up all your quota
164-
enableTracing: true,
165163
tracesSampleRate: 1.0,
166164
tracePropagationTargets: ['localhost', /^\//, /^https:\/\//, /^http:\/\//],
167165
attachStacktrace: true,

0 commit comments

Comments
 (0)