Skip to content
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions libraries/nestjs-libraries/src/sentry/initialize.sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down