Skip to content

Commit

Permalink
Merge pull request #1712 from innovationacademy-kr/dev
Browse files Browse the repository at this point in the history
[FE] ETC: Sentry traces sample, error replay sample 비율 상향 #1709
  • Loading branch information
jnkeniaem authored Nov 22, 2024
2 parents 56d45b5 + 51e0b66 commit 935cdc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Sentry.init({

// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for tracing.
tracesSampleRate: 0.05,
tracesSampleRate: 1.0,

// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
// tracePropagationTargets: [/^\//, /^https:\/\/yourserver\.io\/api/],
Expand All @@ -52,8 +52,8 @@ Sentry.init({

// Capture Replay for 100% of all sessions,
// plus for 100% of sessions with an error
replaysSessionSampleRate: 0.2,
replaysOnErrorSampleRate: 0.2,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
});

ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
Expand Down

0 comments on commit 935cdc3

Please sign in to comment.