@sentry/browser
Version:
Official Sentry SDK for browsers
23 lines • 823 B
TypeScript
interface LinkedTracesOptions {
/**
* Where the previous trace is stored: `'in-memory'` for single-page applications, or
* `'session-storage'` for multi-page applications, which writes to the browser's `sessionStorage`.
*
* Default: 'in-memory'
*/
storage?: 'in-memory' | 'session-storage';
/**
* If true, subsequent traces are sampled consistently with the sampling decision of the initial trace.
*
* Default: false
*/
consistentTraceSampling?: boolean;
}
/**
* Links each new trace to the previous one, so you can navigate between traces in Sentry.
*/
export declare const linkedTracesIntegration: (options?: LinkedTracesOptions | undefined) => import("@sentry/core").Integration & {
name: string;
};
export {};
//# sourceMappingURL=linkedTraces.d.ts.map