Skip to content

Commit a8eeb42

Browse files
committed
add explainer comment
1 parent 55cab63 commit a8eeb42

File tree

4 files changed

+7
-0
lines changed
  • packages/node-integration-tests/suites/express/sentry-trace

4 files changed

+7
-0
lines changed

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+
tracePropagationTargets: [/^(?!.*express).*$/],
1516
// eslint-disable-next-line deprecation/deprecation
1617
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1718
tracesSampleRate: 1.0,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Sentry.init({
1212
dsn: 'https://[email protected]/1337',
1313
release: '1.0',
1414
environment: 'prod',
15+
// disable requests to /express
16+
tracePropagationTargets: [/^(?!.*express).*$/],
1517
// eslint-disable-next-line deprecation/deprecation
1618
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1719
tracesSampleRate: 1.0,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Sentry.init({
1212
dsn: 'https://[email protected]/1337',
1313
release: '1.0',
1414
environment: 'prod',
15+
// disable requests to /express
16+
tracePropagationTargets: [/^(?!.*express).*$/],
1517
// eslint-disable-next-line deprecation/deprecation
1618
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1719
tracesSampleRate: 1.0,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Sentry.init({
1212
dsn: 'https://[email protected]/1337',
1313
release: '1.0',
1414
environment: 'prod',
15+
// disable requests to /express
16+
tracePropagationTargets: [/^(?!.*express).*$/],
1517
// eslint-disable-next-line deprecation/deprecation
1618
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
1719
tracesSampleRate: 1.0,

0 commit comments

Comments
 (0)