Skip to content

Commit 1d8e1f1

Browse files
committed
fix node tracing tests
1 parent f6b4193 commit 1d8e1f1

File tree

1 file changed

+2
-0
lines changed
  • packages/node-integration-tests/suites/express/tracing

1 file changed

+2
-0
lines changed

packages/node-integration-tests/suites/express/tracing/server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ const app = express();
77
Sentry.init({
88
dsn: 'https://[email protected]/1337',
99
release: '1.0',
10+
// disable attaching headers to /test/* endpoints
11+
tracePropagationTargets: [/^(?!.*test).*$/],
1012
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Sentry.Integrations.Express({ app })],
1113
tracesSampleRate: 1.0,
1214
});

0 commit comments

Comments
 (0)