Update initialize.sentry.ts
This commit is contained in:
parent
2bbbc4728d
commit
e17261881e
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue