Update initialize.sentry.ts

This commit is contained in:
Enno Gelhaus 2025-08-08 07:55:48 +02:00 committed by GitHub
parent 2bbbc4728d
commit e17261881e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ export const initializeSentry = (appName: string, allowLogs = false) => {
// Add our Profiling integration
nodeProfilingIntegration(),
Sentry.consoleLoggingIntegration({ levels: ['log', 'error', 'warn'] }),
Sentry.openAIIntegration({
recordInputs: true,
recordOutputs: true,
)},
],
tracesSampleRate: process.env.NODE_ENV === 'development' ? 1.0 : 0.3,
enableLogs: true,