mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2026-03-21 09:13:10 +00:00
Compare commits
2 Commits
8950e57fab
...
834883b2a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
834883b2a4 | ||
|
|
202405bdf8 |
@ -34,7 +34,7 @@ let feedbackIntegration = null;
|
||||
// 初始化 Sentry,但暂不启用 Replay
|
||||
Sentry.init({
|
||||
app,
|
||||
dsn: "https://2f8e5e4ec986c6077d3798ba9f683fdd@o4510762489151488.ingest.us.sentry.io/4510762503438336",
|
||||
dsn: "https://dc34ab47426f49c0925445f0d87b7007@report.houlang.cloud/6",
|
||||
// Setting this option to true will send default PII data to Sentry.
|
||||
// For example, automatic IP address collection on events
|
||||
sendDefaultPii: true,
|
||||
@ -71,7 +71,7 @@ Sentry.init({
|
||||
// Tracing
|
||||
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
||||
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
|
||||
tracePropagationTargets: ["localhost", /^https:\/\/kv-service\.(houlang\.cloud|wuyuan\.dev)/],
|
||||
tracePropagationTargets: ["localhost", /^https?:\/\/cs\.(houlang\.cloud|houlangs\.com)/],
|
||||
// Session Replay - 关闭自动录制
|
||||
replaysSessionSampleRate: 0, // 不自动录制会话
|
||||
replaysOnErrorSampleRate: 0, // 不在错误时自动录制(改为手动触发)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user