Skip to content

Commit 23b260f

Browse files
authored
Merge pull request Expensify#74448 from callstack-internal/sentry/browser-profiling
[No QA] [Sentry] Enable browser profiling
2 parents 6faad93 + d88c907 commit 23b260f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/setup/telemetry/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import * as SentryReact from '@sentry/react';
12
import * as Sentry from '@sentry/react-native';
23
import {isDevelopment} from '@libs/Environment/Environment';
34
import CONFIG from '@src/CONFIG';
@@ -17,7 +18,7 @@ export default function (): void {
1718
profilesSampleRate: 1.0,
1819
enableAutoPerformanceTracing: true,
1920
enableUserInteractionTracing: true,
20-
integrations: [navigationIntegration],
21+
integrations: [navigationIntegration, SentryReact.browserProfilingIntegration(), SentryReact.browserTracingIntegration()],
2122
environment: CONFIG.ENVIRONMENT,
2223
release: `${pkg.name}@${pkg.version}`,
2324
});

0 commit comments

Comments
 (0)