Skip to content

Commit 6581843

Browse files
authored
Merge pull request #940 from gitroomhq/sentry-ai/mcp
Sentry ai
2 parents ac83a17 + dadd21b commit 6581843

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/nestjs-libraries/src/sentry/initialize.sentry.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ export const initializeSentry = (appName: string, allowLogs = false) => {
2626
// Add our Profiling integration
2727
nodeProfilingIntegration(),
2828
Sentry.consoleLoggingIntegration({ levels: ['log', 'error', 'warn'] }),
29+
Sentry.openAIIntegration({
30+
recordInputs: true,
31+
recordOutputs: true,
32+
}),
2933
],
3034
tracesSampleRate: process.env.NODE_ENV === 'development' ? 1.0 : 0.25,
3135
enableLogs: true,

0 commit comments

Comments
 (0)