1- import * as logger from './logs/exports' ;
2-
1+ // OTel-specific exports (not available in light mode)
32export { httpIntegration } from './integrations/http' ;
43export { httpServerSpansIntegration } from './integrations/http/httpServerSpansIntegration' ;
54export { httpServerIntegration } from './integrations/http/httpServerIntegration' ;
@@ -14,151 +13,30 @@ export {
1413 type SentryNodeFetchInstrumentationOptions ,
1514} from './integrations/node-fetch/SentryNodeFetchInstrumentation' ;
1615
17- export { nodeContextIntegration } from './integrations/context' ;
18- export { contextLinesIntegration } from './integrations/contextlines' ;
19- export { localVariablesIntegration } from './integrations/local-variables' ;
20- export { modulesIntegration } from './integrations/modules' ;
21- export { onUncaughtExceptionIntegration } from './integrations/onuncaughtexception' ;
22- export { onUnhandledRejectionIntegration } from './integrations/onunhandledrejection' ;
23- // eslint-disable-next-line deprecation/deprecation
24- export { anrIntegration , disableAnrDetectionForCallback } from './integrations/anr' ;
25-
26- export { spotlightIntegration } from './integrations/spotlight' ;
27- export { systemErrorIntegration } from './integrations/systemError' ;
28- export { childProcessIntegration } from './integrations/childProcess' ;
29- export { processSessionIntegration } from './integrations/processSession' ;
30- export { createSentryWinstonTransport } from './integrations/winston' ;
31- export { pinoIntegration } from './integrations/pino' ;
32-
3316export { SentryContextManager } from './otel/contextManager' ;
3417export { setupOpenTelemetryLogger } from './otel/logger' ;
3518export { generateInstrumentOnce , instrumentWhenWrapped , INSTRUMENTED } from './otel/instrument' ;
3619
3720export { init , getDefaultIntegrations , initWithoutDefaultIntegrations , validateOpenTelemetrySetup } from './sdk' ;
3821export { setIsolationScope } from './sdk/scope' ;
39- export { getSentryRelease , defaultStackParser } from './sdk/api' ;
40- export { createGetModuleFromFilename } from './utils/module' ;
41- export { addOriginToSpan } from './utils/addOriginToSpan' ;
42- export { getRequestUrl } from './utils/getRequestUrl' ;
43- export { initializeEsmLoader } from './sdk/esmLoader' ;
44- export { isCjs } from './utils/detection' ;
45- export { ensureIsWrapped } from './utils/ensureIsWrapped' ;
46- export { createMissingInstrumentationContext } from './utils/createMissingInstrumentationContext' ;
47- export { envToBool } from './utils/envToBool' ;
48- export { makeNodeTransport , type NodeTransportOptions } from './transports' ;
49- export type { HTTPModuleRequestIncomingMessage } from './transports/http-module' ;
5022export { NodeClient } from './sdk/client' ;
51- export { cron } from './cron ' ;
52- export { NODE_VERSION } from './nodeVersion ' ;
23+ export { ensureIsWrapped } from './utils/ensureIsWrapped ' ;
24+ export { processSessionIntegration } from './integrations/processSession ' ;
5325
54- export type { NodeOptions , OpenTelemetryServerRuntimeOptions } from './types' ;
26+ export type { OpenTelemetryServerRuntimeOptions } from './types' ;
5527
5628export {
5729 // This needs exporting so the NodeClient can be used without calling init
5830 setOpenTelemetryContextAsyncContextStrategy as setNodeAsyncContextStrategy ,
5931} from '@sentry/opentelemetry' ;
6032
61- export {
62- addBreadcrumb ,
63- isInitialized ,
64- isEnabled ,
65- getGlobalScope ,
66- lastEventId ,
67- close ,
68- createTransport ,
69- flush ,
70- SDK_VERSION ,
71- getSpanStatusFromHttpCode ,
72- setHttpStatus ,
73- captureCheckIn ,
74- withMonitor ,
75- requestDataIntegration ,
76- functionToStringIntegration ,
77- // eslint-disable-next-line deprecation/deprecation
78- inboundFiltersIntegration ,
79- eventFiltersIntegration ,
80- linkedErrorsIntegration ,
81- addEventProcessor ,
82- setContext ,
83- setExtra ,
84- setExtras ,
85- setTag ,
86- setTags ,
87- setUser ,
88- SEMANTIC_ATTRIBUTE_SENTRY_OP ,
89- SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
90- SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
91- SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
92- setCurrentClient ,
93- Scope ,
94- setMeasurement ,
95- getSpanDescendants ,
96- parameterize ,
97- getClient ,
98- getCurrentScope ,
99- getIsolationScope ,
100- getTraceData ,
101- getTraceMetaTags ,
102- continueTrace ,
103- withScope ,
104- withIsolationScope ,
105- captureException ,
106- captureEvent ,
107- captureMessage ,
108- captureFeedback ,
109- captureConsoleIntegration ,
110- dedupeIntegration ,
111- extraErrorDataIntegration ,
112- rewriteFramesIntegration ,
113- startSession ,
114- captureSession ,
115- endSession ,
116- addIntegration ,
117- startSpan ,
118- startSpanManual ,
119- startInactiveSpan ,
120- startNewTrace ,
121- suppressTracing ,
122- getActiveSpan ,
123- withActiveSpan ,
124- getRootSpan ,
125- spanToJSON ,
126- spanToTraceHeader ,
127- spanToBaggageHeader ,
128- trpcMiddleware ,
129- updateSpanName ,
130- supabaseIntegration ,
131- instrumentSupabaseClient ,
132- zodErrorsIntegration ,
133- profiler ,
134- consoleLoggingIntegration ,
135- createConsolaReporter ,
136- consoleIntegration ,
137- wrapMcpServerWithSentry ,
138- featureFlagsIntegration ,
139- metrics ,
140- } from '@sentry/core' ;
33+ // Deprecated exports (do not add to common-exports.ts)
34+ // eslint-disable-next-line deprecation/deprecation
35+ export { anrIntegration , disableAnrDetectionForCallback } from './integrations/anr' ;
36+ // eslint-disable-next-line deprecation/deprecation
37+ export { inboundFiltersIntegration } from '@sentry/core' ;
14138
142- export type {
143- Breadcrumb ,
144- BreadcrumbHint ,
145- PolymorphicRequest ,
146- RequestEventData ,
147- SdkInfo ,
148- Event ,
149- EventHint ,
150- ErrorEvent ,
151- Exception ,
152- Session ,
153- SeverityLevel ,
154- StackFrame ,
155- Stacktrace ,
156- Thread ,
157- User ,
158- Span ,
159- FeatureFlagsIntegration ,
160- ExclusiveEventHintOrCaptureContext ,
161- CaptureContext ,
162- } from '@sentry/core' ;
39+ export type { ExclusiveEventHintOrCaptureContext , CaptureContext } from '@sentry/core' ;
16340
164- export { logger } ;
41+ // Common exports shared with the light entry point
42+ export * from './common-exports' ;
0 commit comments