UNPKG

@sentry/remix

Version:
17 lines • 2.34 kB
import { instrumentBuild as instrumentRemixBuild, makeWrappedCreateRequestHandler, sentryHandleError } from '../server/instrumentServer'; export * from '@sentry/react'; export { captureRemixErrorBoundaryError } from '../client/errors'; export { withSentry } from '../client/performance'; export { ErrorBoundary, browserTracingIntegration } from '../client'; export { makeWrappedCreateRequestHandler, sentryHandleError }; export { generateSentryServerTimingHeader } from '../server/serverTimingTracePropagation'; /** * Instruments a Remix build to capture errors and performance data. * @param build The Remix build to instrument. * @returns The instrumented Remix build. */ export declare const instrumentBuild: typeof instrumentRemixBuild; export type { Breadcrumb, BreadcrumbHint, PolymorphicRequest, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, FeatureFlagsIntegration, Session, SeverityLevel, Span, StackFrame, Stacktrace, Thread, User, } from '@sentry/core'; export { addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureMessage, captureFeedback, close, createTransport, lastEventId, flush, getClient, isInitialized, isEnabled, getCurrentScope, getGlobalScope, getIsolationScope, setCurrentClient, Scope, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setAttribute, setAttributes, setUser, getSpanStatusFromHttpCode, setHttpStatus, withScope, withIsolationScope, captureCheckIn, withMonitor, setMeasurement, getActiveSpan, getRootSpan, getTraceData, getTraceMetaTags, startSpan, startInactiveSpan, startSpanManual, startNewTrace, bindScopeToEmitter, suppressTracing, withActiveSpan, getSpanDescendants, continueTrace, functionToStringIntegration, linkedErrorsIntegration, requestDataIntegration, extraErrorDataIntegration, dedupeIntegration, rewriteFramesIntegration, captureConsoleIntegration, moduleMetadataIntegration, supabaseIntegration, instrumentSupabaseClient, zodErrorsIntegration, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, spanToStaticSpanJSON, spanToJSON, spanToTraceHeader, spanToBaggageHeader, updateSpanName, withStaticSpan, withStreamedSpan, featureFlagsIntegration, } from '@sentry/core'; export { trpcMiddleware } from '@sentry/core/server'; //# sourceMappingURL=index.d.ts.map