chore: 异常反馈增加姓名与邮箱配置
This commit is contained in:
parent
64b59a06a3
commit
4e584fccf3
@ -22,6 +22,13 @@ Sentry.init({
|
|||||||
Sentry.replayIntegration(),
|
Sentry.replayIntegration(),
|
||||||
// 异常端信息追踪
|
// 异常端信息追踪
|
||||||
Sentry.browserTracingIntegration(),
|
Sentry.browserTracingIntegration(),
|
||||||
|
// 异常反馈
|
||||||
|
Sentry.feedbackIntegration({
|
||||||
|
// Additional SDK configuration goes in here, for example:
|
||||||
|
colorScheme: 'system',
|
||||||
|
isNameRequired: true,
|
||||||
|
isEmailRequired: true,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
// Session Replay
|
// Session Replay
|
||||||
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
|
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user