Skip to content

Commit 1ccfee8

Browse files
authored
feat(tracing): Deprecate @sentry/tracing exports (#7611)
1 parent fb14208 commit 1ccfee8

File tree

30 files changed

+268
-28
lines changed

30 files changed

+268
-28
lines changed

packages/node-integration-tests/suites/express/multiple-routers/common-infix-parameterized/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const app = express();
88
Sentry.init({
99
dsn: 'https://[email protected]/1337',
1010
release: '1.0',
11+
// eslint-disable-next-line deprecation/deprecation
1112
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1213
tracesSampleRate: 1.0,
1314
});

packages/node-integration-tests/suites/express/multiple-routers/common-infix/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const app = express();
88
Sentry.init({
99
dsn: 'https://[email protected]/1337',
1010
release: '1.0',
11+
// eslint-disable-next-line deprecation/deprecation
1112
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1213
tracesSampleRate: 1.0,
1314
});

packages/node-integration-tests/suites/express/multiple-routers/common-prefix-parameterized-reverse/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const app = express();
88
Sentry.init({
99
dsn: 'https://[email protected]/1337',
1010
release: '1.0',
11+
// eslint-disable-next-line deprecation/deprecation
1112
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1213
tracesSampleRate: 1.0,
1314
});

packages/node-integration-tests/suites/express/multiple-routers/common-prefix-parameterized/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const app = express();
88
Sentry.init({
99
dsn: 'https://[email protected]/1337',
1010
release: '1.0',
11+
// eslint-disable-next-line deprecation/deprecation
1112
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1213
tracesSampleRate: 1.0,
1314
});

packages/node-integration-tests/suites/express/multiple-routers/common-prefix-same-length-parameterized copy/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const app = express();
88
Sentry.init({
99
dsn: 'https://[email protected]/1337',
1010
release: '1.0',
11+
// eslint-disable-next-line deprecation/deprecation
1112
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1213
tracesSampleRate: 1.0,
1314
});

packages/node-integration-tests/suites/express/multiple-routers/common-prefix-same-length-parameterized/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const app = express();
88
Sentry.init({
99
dsn: 'https://[email protected]/1337',
1010
release: '1.0',
11+
// eslint-disable-next-line deprecation/deprecation
1112
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1213
tracesSampleRate: 1.0,
1314
});

packages/node-integration-tests/suites/express/multiple-routers/common-prefix/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const app = express();
88
Sentry.init({
99
dsn: 'https://[email protected]/1337',
1010
release: '1.0',
11+
// eslint-disable-next-line deprecation/deprecation
1112
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1213
tracesSampleRate: 1.0,
1314
});

packages/node-integration-tests/suites/express/sentry-trace/baggage-header-out/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Sentry.init({
1212
dsn: 'https://[email protected]/1337',
1313
release: '1.0',
1414
environment: 'prod',
15+
// eslint-disable-next-line deprecation/deprecation
1516
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1617
tracesSampleRate: 1.0,
1718
});

packages/node-integration-tests/suites/express/sentry-trace/baggage-other-vendors-with-sentry-entries/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Sentry.init({
1212
dsn: 'https://[email protected]/1337',
1313
release: '1.0',
1414
environment: 'prod',
15+
// eslint-disable-next-line deprecation/deprecation
1516
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1617
tracesSampleRate: 1.0,
1718
});

packages/node-integration-tests/suites/express/sentry-trace/baggage-other-vendors/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Sentry.init({
1212
dsn: 'https://[email protected]/1337',
1313
release: '1.0',
1414
environment: 'prod',
15+
// eslint-disable-next-line deprecation/deprecation
1516
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1617
tracesSampleRate: 1.0,
1718
});

packages/node-integration-tests/suites/express/sentry-trace/baggage-transaction-name/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Sentry.init({
1212
dsn: 'https://[email protected]/1337',
1313
release: '1.0',
1414
environment: 'prod',
15+
// eslint-disable-next-line deprecation/deprecation
1516
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1617
tracesSampleRate: 1.0,
1718
// TODO: We're rethinking the mechanism for including Pii data in DSC, hence commenting out sendDefaultPii for now

packages/node-integration-tests/suites/express/sentry-trace/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Sentry.init({
1212
dsn: 'https://[email protected]/1337',
1313
release: '1.0',
1414
environment: 'prod',
15+
// eslint-disable-next-line deprecation/deprecation
1516
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1617
tracesSampleRate: 1.0,
1718
});

packages/node-integration-tests/suites/tracing-new/tracePropagationTargets/scenario.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import * as Sentry from '@sentry/node';
33
import * as http from 'http';
44

5-
Sentry.addTracingExtensions();
6-
75
Sentry.init({
86
dsn: 'https://[email protected]/1337',
97
release: '1.0',

packages/node-integration-tests/suites/tracing/apollo-graphql/scenario.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Sentry.init({
66
dsn: 'https://[email protected]/1337',
77
release: '1.0',
88
tracesSampleRate: 1.0,
9+
// eslint-disable-next-line deprecation/deprecation
910
integrations: [new Tracing.Integrations.GraphQL(), new Tracing.Integrations.Apollo()],
1011
});
1112

packages/node-integration-tests/suites/tracing/prisma-orm/scenario.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Sentry.init({
1010
dsn: 'https://[email protected]/1337',
1111
release: '1.0',
1212
tracesSampleRate: 1.0,
13+
// eslint-disable-next-line deprecation/deprecation
1314
integrations: [new Tracing.Integrations.Prisma({ client })],
1415
});
1516

packages/tracing-internal/test/browser/backgroundtab.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ describe('registerBackgroundTabDetection', () => {
1919
makeMain(hub);
2020

2121
// If we do not add extension methods, invoking hub.startTransaction returns undefined
22+
// eslint-disable-next-line deprecation/deprecation
2223
addExtensionMethods();
2324

2425
// @ts-ignore need to override global document

packages/tracing-internal/test/browser/browsertracing.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable deprecation/deprecation */
12
import { Hub, makeMain, TRACING_DEFAULTS } from '@sentry/core';
23
import * as hubExtensions from '@sentry/core';
34
import type { BaseTransportOptions, ClientOptions, DsnComponents } from '@sentry/types';

packages/tracing-internal/test/browser/request.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable deprecation/deprecation */
12
import * as sentryCore from '@sentry/core';
23
import * as utils from '@sentry/utils';
34

0 commit comments

Comments
 (0)