-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathindex.ts
More file actions
44 lines (35 loc) · 1.96 KB
/
index.ts
File metadata and controls
44 lines (35 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// OTel-specific exports (not available in light mode)
export { httpIntegration } from './integrations/http';
export { httpServerSpansIntegration } from './integrations/http/httpServerSpansIntegration';
export { httpServerIntegration } from './integrations/http/httpServerIntegration';
export {
SentryHttpInstrumentation,
type SentryHttpInstrumentationOptions,
} from './integrations/http/SentryHttpInstrumentation';
export { nativeNodeFetchIntegration } from './integrations/node-fetch';
export {
SentryNodeFetchInstrumentation,
type SentryNodeFetchInstrumentationOptions,
} from './integrations/node-fetch/SentryNodeFetchInstrumentation';
export { SentryContextManager } from './otel/contextManager';
export { setupOpenTelemetryLogger } from './otel/logger';
export { generateInstrumentOnce, instrumentWhenWrapped, INSTRUMENTED } from './otel/instrument';
export { init, getDefaultIntegrations, initWithoutDefaultIntegrations, validateOpenTelemetrySetup } from './sdk';
export { setIsolationScope } from './sdk/scope';
export { NodeClient } from './sdk/client';
export { ensureIsWrapped } from './utils/ensureIsWrapped';
export { processSessionIntegration } from './integrations/processSession';
export type { OpenTelemetryServerRuntimeOptions } from './types';
export { registerModuleWrapper } from './module-wrapper';
export {
// This needs exporting so the NodeClient can be used without calling init
setOpenTelemetryContextAsyncContextStrategy as setNodeAsyncContextStrategy,
} from '@sentry/opentelemetry';
// Deprecated exports (do not add to common-exports.ts)
// eslint-disable-next-line deprecation/deprecation
export { anrIntegration, disableAnrDetectionForCallback } from './integrations/anr';
// eslint-disable-next-line deprecation/deprecation
export { inboundFiltersIntegration } from '@sentry/core';
export type { ExclusiveEventHintOrCaptureContext, CaptureContext } from '@sentry/core';
// Common exports shared with the light entry point
export * from './common-exports';