mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2026-02-04 16:03:10 +00:00
Update tracePropagationTargets and replaysSessionSampleRate
This commit is contained in:
parent
890fb147b0
commit
bd7a42b889
@ -41,9 +41,9 @@ Sentry.init({
|
|||||||
// Tracing
|
// Tracing
|
||||||
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
||||||
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
|
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
|
||||||
tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
|
tracePropagationTargets: ["localhost", /^https:\/\/kv-service\.(houlang\.cloud|wuyuan\.dev)/],
|
||||||
// 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.01, // 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.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
|
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
|
||||||
// Logs
|
// Logs
|
||||||
enableLogs: true
|
enableLogs: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user