Attempt to fix Profiling
This commit is contained in:
parent
cc36d6a2dc
commit
c3b83224be
|
|
@ -29,6 +29,10 @@ export const initializeSentry = (appName: string, allowLogs = false) => {
|
|||
],
|
||||
tracesSampleRate: process.env.NODE_ENV === 'development' ? 1.0 : 0.3,
|
||||
enableLogs: true,
|
||||
|
||||
// Profiling
|
||||
profileSessionSampleRate: process.env.NODE_ENV === 'development' ? 1.0 : 0.3,
|
||||
profileLifecycle: 'trace',
|
||||
});
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
|
|
|
|||
Loading…
Reference in New Issue