1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2026-03-21 09:13:10 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
孙悟元
834883b2a4
Update Sentry DSN for error reporting 2026-02-19 14:07:09 +08:00
孙悟元
202405bdf8
Update Sentry DSN and trace propagation targets 2026-02-19 12:26:10 +08:00

View File

@ -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, // 不在错误时自动录制(改为手动触发)