Merge pull request #940 from gitroomhq/sentry-ai/mcp

Sentry ai
This commit is contained in:
Enno Gelhaus 2025-09-18 18:11:10 +02:00 committed by GitHub
commit 65818434fb
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.25,
enableLogs: true,