1 | import type { Client, Integration, IntegrationClass } from '@sentry/types';
|
2 | export declare const browserProfilingIntegration: () => import("@sentry/types").IntegrationFnResult;
|
3 | /**
|
4 | * Browser profiling integration. Stores any event that has contexts["profile"]["profile_id"]
|
5 | * This exists because we do not want to await async profiler.stop calls as transaction.finish is called
|
6 | * in a synchronous context. Instead, we handle sending the profile async from the promise callback and
|
7 | * rely on being able to pull the event from the cache when we need to construct the envelope. This makes the
|
8 | * integration less reliable as we might be dropping profiles when the cache is full.
|
9 | *
|
10 | * @experimental
|
11 | * @deprecated Use `browserProfilingIntegration()` instead.
|
12 | */
|
13 | export declare const BrowserProfilingIntegration: IntegrationClass<Integration & {
|
14 | setup: (client: Client) => void;
|
15 | }>;
|
16 | export type BrowserProfilingIntegration = typeof BrowserProfilingIntegration;
|
17 | //# sourceMappingURL=integration.d.ts.map |
\ | No newline at end of file |