UNPKG

880 BTypeScriptView Raw
1/**
2 * Options added to the Browser SDK's init options that are specific for Replay.
3 * Note: This type was moved to @sentry/types to avoid a circular dependency between Browser and Replay.
4 */
5export type BrowserClientReplayOptions = {
6 /**
7 * The sample rate for session-long replays.
8 * 1.0 will record all sessions and 0 will record none.
9 */
10 replaysSessionSampleRate?: number;
11 /**
12 * The sample rate for sessions that has had an error occur.
13 * This is independent of `sessionSampleRate`.
14 * 1.0 will record all sessions and 0 will record none.
15 */
16 replaysOnErrorSampleRate?: number;
17};
18export type BrowserClientProfilingOptions = {
19 /**
20 * The sample rate for profiling
21 * 1.0 will profile all transactions and 0 will profile none.
22 */
23 profilesSampleRate?: number;
24};
25//# sourceMappingURL=browseroptions.d.ts.map
\No newline at end of file