Skip to content

Commit eda2eac

Browse files
committed
fix leftovers/cleanup
1 parent e63a037 commit eda2eac

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

dev-packages/node-integration-tests/suites/tracing/ignoreSpans-streamed/children/instrument.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ Sentry.init({
99
traceLifecycle: 'stream',
1010
ignoreSpans: ['middleware - expressInit', /custom-to-drop/, { op: 'ignored-op' }],
1111
clientReportFlushInterval: 1_000,
12-
debug: true,
1312
});

dev-packages/node-integration-tests/suites/tracing/ignoreSpans-streamed/children/server.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ app.get('/test/express', (_req, res) => {
3131
},
3232
);
3333

34-
(Sentry.startSpan({ name: 'name-passes-but-op-not-span-1', op: 'ignored-op' }, () => {}),
35-
Sentry.startSpan(
36-
// sentry.op attribute has precedence over top op argument
37-
{ name: 'name-passes-but-op-not-span-2', /*op: 'keep',*/ attributes: { 'sentry.op': 'ignored-op' } },
38-
() => {},
39-
),
40-
res.send({ response: 'response 1' }));
34+
Sentry.startSpan({ name: 'name-passes-but-op-not-span-1', op: 'ignored-op' }, () => {});
35+
Sentry.startSpan(
36+
// sentry.op attribute has precedence over top op argument
37+
{ name: 'name-passes-but-op-not-span-2', op: 'keep', attributes: { 'sentry.op': 'ignored-op' } },
38+
() => {},
39+
);
40+
res.send({ response: 'response 1' });
4141
});
4242

4343
Sentry.setupExpressErrorHandler(app);

0 commit comments

Comments
 (0)