docs: 更新快速接入文档,sentry 放开追踪模块
This commit is contained in:
@@ -21,13 +21,13 @@ Sentry.init({
|
||||
dsn: 'https://5bcf1344794fea64fc5e5fe7da4821c1@o4508962650783744.ingest.de.sentry.io/4508962653143120',
|
||||
integrations: [
|
||||
// 异常路径回放
|
||||
// Sentry.replayIntegration(),
|
||||
Sentry.replayIntegration(),
|
||||
// 异常端信息追踪
|
||||
// Sentry.browserTracingIntegration(),
|
||||
Sentry.browserTracingIntegration(),
|
||||
],
|
||||
// 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.
|
||||
// replaysOnErrorSampleRate: 1, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
|
||||
replaysSessionSampleRate: 0.1, // This 1sets 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.
|
||||
replaysOnErrorSampleRate: 1, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
|
||||
});
|
||||
|
||||
// 批量注册组件
|
||||
|
||||
Reference in New Issue
Block a user