Add browser profiling integration and update sample rates
Some checks failed
Build Containers / build-containers-common (push) Has been cancelled
Build / build (20.17.0) (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled
Some checks failed
Build Containers / build-containers-common (push) Has been cancelled
Build / build (20.17.0) (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled
Added browser profiling integration and adjusted profiles sample rate based on environment.
This commit is contained in:
parent
9eb68484ff
commit
87d2a937c8
1 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ export const initializeSentryClient = (environment: string, dsn: string) =>
|
|||
integrations: [
|
||||
// Add default integrations back
|
||||
Sentry.browserTracingIntegration(),
|
||||
Sentry.browserProfilingIntegration(),
|
||||
Sentry.replayIntegration({
|
||||
maskAllText: true,
|
||||
maskAllInputs: true,
|
||||
|
|
@ -17,4 +18,6 @@ export const initializeSentryClient = (environment: string, dsn: string) =>
|
|||
],
|
||||
replaysSessionSampleRate: environment === 'development' ? 1.0 : 0.5,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
|
||||
profilesSampleRate: environment === 'development' ? 1.0 : 0.1,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue