mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
11 lines
279 B
JavaScript
11 lines
279 B
JavaScript
import * as Sentry from '@sentry/nextjs'
|
|
|
|
Sentry.init({
|
|
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
|
|
|
// Set tracesSampleRate to 1.0 to capture 100%
|
|
// of transactions for performance monitoring.
|
|
// We recommend adjusting this value in production
|
|
tracesSampleRate: 0.1,
|
|
})
|