Skip to content

Commit 2df2b5f

Browse files
committed
Disable Sentry tracing handler
Reference: OSCI-5419
1 parent ffccadb commit 2df2b5f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/server.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ const app = express();
5959
Sentry.init({
6060
integrations: [
6161
// Enable HTTP calls tracing.
62-
// XXX: OSCI-5419
63-
new Sentry.Integrations.Http({ tracing: false }),
62+
new Sentry.Integrations.Http(),
6463
// Enable Express.js middleware tracing.
6564
new Sentry.Integrations.Express({ app }),
6665
// Automatically instrument Node.js libraries and frameworks.
@@ -74,8 +73,12 @@ Sentry.init({
7473
* transactions are isolated across requests.
7574
*/
7675
app.use(Sentry.Handlers.requestHandler());
76+
/*
77+
* FIXME: Disabled for now. See OSCI-5419 and the upstream issue:
78+
* https://github.com/getsentry/sentry-javascript/issues/8654
79+
*/
7780
// TracingHandler creates a trace for every incoming request.
78-
app.use(Sentry.Handlers.tracingHandler());
81+
// app.use(Sentry.Handlers.tracingHandler());
7982

8083
app.use(cors());
8184
if (app.get('env') === 'development') {

0 commit comments

Comments
 (0)