UNPKG

2.83 kBTypeScriptView Raw
1export type { Breadcrumb, BreadcrumbHint, PolymorphicRequest, Request, SdkInfo, Event, EventHint, Exception, Session, Severity, SeverityLevel, Span, StackFrame, Stacktrace, Thread, Transaction, User, } from '@sentry/types';
2export type { AddRequestDataToEventOptions } from '@sentry/utils';
3export type { TransactionNamingScheme } from './requestdata';
4export type { NodeOptions } from './types';
5export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, close, configureScope, createTransport, extractTraceparentData, flush, getActiveTransaction, getHubFromCarrier, getCurrentHub, Hub, lastEventId, makeMain, runWithAsyncContext, Scope, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, spanStatusfromHttpCode, trace, withScope, captureCheckIn, setMeasurement, getActiveSpan, startSpan, startActiveSpan, startInactiveSpan, startSpanManual, } from '@sentry/core';
6export type { SpanStatusType } from '@sentry/core';
7export { autoDiscoverNodePerformanceMonitoringIntegrations } from './tracing';
8export { NodeClient } from './client';
9export { makeNodeTransport } from './transports';
10export { defaultIntegrations, init, defaultStackParser, getSentryRelease } from './sdk';
11export { addRequestDataToEvent, DEFAULT_USER_INCLUDES, extractRequestData } from './requestdata';
12export { deepReadDirSync } from './utils';
13export { getModuleFromFilename } from './module';
14import { Integrations as CoreIntegrations } from '@sentry/core';
15import * as Handlers from './handlers';
16import * as NodeIntegrations from './integrations';
17import * as TracingIntegrations from './tracing/integrations';
18declare const INTEGRATIONS: {
19 Apollo: typeof TracingIntegrations.Apollo;
20 Express: typeof TracingIntegrations.Express;
21 GraphQL: typeof TracingIntegrations.GraphQL;
22 Mongo: typeof TracingIntegrations.Mongo;
23 Mysql: typeof TracingIntegrations.Mysql;
24 Postgres: typeof TracingIntegrations.Postgres;
25 Prisma: typeof TracingIntegrations.Prisma;
26 Console: typeof NodeIntegrations.Console;
27 Http: typeof NodeIntegrations.Http;
28 OnUncaughtException: typeof NodeIntegrations.OnUncaughtException;
29 OnUnhandledRejection: typeof NodeIntegrations.OnUnhandledRejection;
30 LinkedErrors: typeof NodeIntegrations.LinkedErrors;
31 Modules: typeof NodeIntegrations.Modules;
32 ContextLines: typeof NodeIntegrations.ContextLines;
33 Context: typeof NodeIntegrations.Context;
34 RequestData: typeof NodeIntegrations.RequestData;
35 LocalVariables: typeof NodeIntegrations.LocalVariables;
36 Undici: typeof NodeIntegrations.Undici;
37 FunctionToString: typeof CoreIntegrations.FunctionToString;
38 InboundFilters: typeof CoreIntegrations.InboundFilters;
39};
40export { INTEGRATIONS as Integrations, Handlers };
41//# sourceMappingURL=index.d.ts.map
\No newline at end of file