Attempt to fix Profiling

This commit is contained in:
Enno Gelhaus 2025-09-17 01:01:45 +02:00 committed by GitHub
parent cc36d6a2dc
commit c3b83224be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -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);