feat: traces changes
This commit is contained in:
parent
3483b022e8
commit
aac6fc0fd4
|
|
@ -13,7 +13,7 @@ export const initializeSentry = () => {
|
|||
// Add our Profiling integration
|
||||
nodeProfilingIntegration(),
|
||||
],
|
||||
tracesSampleRate: 1.0,
|
||||
tracesSampleRate: process.env.NODE_ENV === 'development' ? 1.0 : 0.3,
|
||||
profilesSampleRate: 1.0,
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -13,5 +13,6 @@ export const initializeSentryClient = (dsn: string) =>
|
|||
],
|
||||
replaysSessionSampleRate:
|
||||
process.env.NODE_ENV === 'development' ? 1.0 : 0.1,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
replaysOnErrorSampleRate:
|
||||
process.env.NODE_ENV === 'development' ? 1.0 : 0.1,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ export const initializeSentryBasic = (dsn: string, extension: any) => {
|
|||
sendDefaultPii: true,
|
||||
...extension,
|
||||
debug: process.env.NODE_ENV === 'development',
|
||||
tracesSampleRate: process.env.NODE_ENV === 'development' ? 1.0 : 0.1,
|
||||
tracesSampleRate: process.env.NODE_ENV === 'development' ? 1.0 : 0.3,
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue