@sentry/remix
Version:
Official Sentry SDK for Remix
17 lines • 910 B
TypeScript
import { browserTracingIntegration as originalBrowserTracingIntegration } from '@sentry/browser';
import { type Integration } from '@sentry/core';
type Options = Parameters<typeof originalBrowserTracingIntegration>[0];
/**
* Browser tracing for Remix 3.
*
* Page loads stay with the upstream integration, because they are ordinary document loads. Navigations
* do not: `remix/component` intercepts links and form submissions through the Navigation API and never touches
* History, so the upstream handler never fires.
*
* Spans are named through the route provider. Routes reach it from the server, with each HTML
* response, so a span starts under a low cardinality name when its route is not known yet and is
* renamed once the response arrives.
*/
export declare function browserTracingIntegration(options?: Options): Integration;
export {};
//# sourceMappingURL=browserTracingIntegration.d.ts.map