Skip to content

Commit 652b621

Browse files
authored
feat: Ensure withActiveSpan is exported everywhere (#10878)
We forgot to do that, apparently :grimace:
1 parent a845a0e commit 652b621

File tree

8 files changed

+19
-5
lines changed

8 files changed

+19
-5
lines changed

packages/astro/src/index.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export {
6565
startSpan,
6666
startInactiveSpan,
6767
startSpanManual,
68+
withActiveSpan,
6869
continueTrace,
6970
cron,
7071
parameterize,

packages/bun/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export {
6767
startSpan,
6868
startInactiveSpan,
6969
startSpanManual,
70+
withActiveSpan,
7071
continueTrace,
7172
metricsDefault as metrics,
7273
functionToStringIntegration,
@@ -83,7 +84,6 @@ export {
8384
startSession,
8485
captureSession,
8586
endSession,
86-
withActiveSpan,
8787
} from '@sentry/core';
8888
export type { SpanStatusType } from '@sentry/core';
8989
export {

packages/node-experimental/src/index.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,19 @@ export { cron } from './cron';
4040

4141
export type { Span, NodeOptions } from './types';
4242

43-
export { startSpan, startSpanManual, startInactiveSpan, getActiveSpan, withActiveSpan } from '@sentry/opentelemetry';
43+
export {
44+
startSpan,
45+
startSpanManual,
46+
startInactiveSpan,
47+
getActiveSpan,
48+
withActiveSpan,
49+
} from '@sentry/opentelemetry';
4450

45-
export { addRequestDataToEvent, DEFAULT_USER_INCLUDES, extractRequestData } from '@sentry/utils';
51+
export {
52+
addRequestDataToEvent,
53+
DEFAULT_USER_INCLUDES,
54+
extractRequestData,
55+
} from '@sentry/utils';
4656

4757
export {
4858
addBreadcrumb,

packages/node/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export {
6666
startSpan,
6767
startInactiveSpan,
6868
startSpanManual,
69+
withActiveSpan,
6970
continueTrace,
7071
parameterize,
7172
functionToStringIntegration,
@@ -76,7 +77,6 @@ export {
7677
startSession,
7778
captureSession,
7879
endSession,
79-
withActiveSpan,
8080
} from '@sentry/core';
8181

8282
export {

packages/remix/src/index.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export {
7676
startSpan,
7777
startSpanManual,
7878
startInactiveSpan,
79+
withActiveSpan,
7980
continueTrace,
8081
isInitialized,
8182
cron,

packages/serverless/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export {
6969
startSpan,
7070
startInactiveSpan,
7171
startSpanManual,
72+
withActiveSpan,
7273
continueTrace,
7374
parameterize,
7475
requestDataIntegration,
@@ -96,7 +97,6 @@ export {
9697
startSession,
9798
captureSession,
9899
endSession,
99-
withActiveSpan,
100100
} from '@sentry/node-experimental';
101101

102102
export {

packages/sveltekit/src/server/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export {
7171
startSpan,
7272
startInactiveSpan,
7373
startSpanManual,
74+
withActiveSpan,
7475
continueTrace,
7576
cron,
7677
parameterize,

packages/vercel-edge/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export {
6666
startSpan,
6767
startInactiveSpan,
6868
startSpanManual,
69+
withActiveSpan,
6970
continueTrace,
7071
metrics,
7172
functionToStringIntegration,

0 commit comments

Comments
 (0)