Skip to content

Commit e8e84ea

Browse files
author
Luca Forstner
authored
feat!: Remove autoSessionTracking option (#14802)
Ref #14609
1 parent a3bbb52 commit e8e84ea

File tree

34 files changed

+8
-85
lines changed

34 files changed

+8
-85
lines changed

dev-packages/browser-integration-tests/suites/integrations/captureConsole-attachStackTrace/init.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ window.Sentry = Sentry;
66
Sentry.init({
77
dsn: 'https://public@dsn.ingest.sentry.io/1337',
88
integrations: [captureConsoleIntegration()],
9-
autoSessionTracking: false,
109
attachStacktrace: true,
1110
});

dev-packages/browser-integration-tests/suites/integrations/captureConsole/init.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ window.Sentry = Sentry;
66
Sentry.init({
77
dsn: 'https://public@dsn.ingest.sentry.io/1337',
88
integrations: [captureConsoleIntegration()],
9-
autoSessionTracking: false,
109
});

dev-packages/browser-integration-tests/suites/sessions/v7-hub-start-session/init.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ window.Sentry = Sentry;
55
Sentry.init({
66
dsn: 'https://public@dsn.ingest.sentry.io/1337',
77
release: '0.1',
8-
// intentionally disabling this, we want to leverage the deprecated hub API
9-
autoSessionTracking: false,
108
});
119

1210
// simulate old startSessionTracking behavior

dev-packages/node-integration-tests/suites/anr/app-path.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ setTimeout(() => {
1616
Sentry.init({
1717
dsn: process.env.SENTRY_DSN,
1818
release: '1.0',
19-
autoSessionTracking: false,
2019
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100, appRootPath: __dirname })],
2120
});
2221

dev-packages/node-integration-tests/suites/anr/basic-multiple.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ setTimeout(() => {
1212
Sentry.init({
1313
dsn: process.env.SENTRY_DSN,
1414
release: '1.0',
15-
autoSessionTracking: false,
1615
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100, maxAnrEvents: 2 })],
1716
});
1817

dev-packages/node-integration-tests/suites/anr/basic-session.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Sentry.init({
1111
dsn: process.env.SENTRY_DSN,
1212
release: '1.0',
1313
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100 })],
14-
autoSessionTracking: true,
1514
});
1615

1716
Sentry.setUser({ email: 'person@home.com' });

dev-packages/node-integration-tests/suites/anr/basic.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ setTimeout(() => {
1212
Sentry.init({
1313
dsn: process.env.SENTRY_DSN,
1414
release: '1.0',
15-
autoSessionTracking: false,
1615
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100 })],
1716
});
1817

dev-packages/node-integration-tests/suites/anr/basic.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ setTimeout(() => {
1212
Sentry.init({
1313
dsn: process.env.SENTRY_DSN,
1414
release: '1.0',
15-
autoSessionTracking: false,
1615
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100 })],
1716
});
1817

dev-packages/node-integration-tests/suites/anr/forked.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ setTimeout(() => {
1010
Sentry.init({
1111
dsn: 'https://public@dsn.ingest.sentry.io/1337',
1212
release: '1.0',
13-
autoSessionTracking: false,
1413
debug: true,
1514
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100 })],
1615
});

dev-packages/node-integration-tests/suites/anr/indefinite.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ setTimeout(() => {
1010
Sentry.init({
1111
dsn: process.env.SENTRY_DSN,
1212
release: '1.0',
13-
autoSessionTracking: false,
1413
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100 })],
1514
});
1615

0 commit comments

Comments
 (0)