Skip to content

Commit a808d2f

Browse files
committed
feat: Upgrade @sentry/replay@0.6.11-0
* SDK changed config API * Adjust sourcemap.io sessionSampleRate to 1.0
1 parent 46311df commit a808d2f

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

client/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"dependencies": {
44
"@sentry/browser": "^7.7.0",
55
"@sentry/react": "^7.7.0",
6-
"@sentry/replay": "^0.6.10",
6+
"@sentry/replay": "^0.6.11-0",
77
"@sentry/tracing": "^7.7.0",
88
"jest-environment-jsdom-sixteen": "^2.0.0",
99
"prop-types": "^15.5.10",

client/src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ if (process.env.REACT_APP_SENTRY_DSN) {
1212
debug: true,
1313
dsn: process.env.REACT_APP_SENTRY_DSN,
1414
release: process.env.REACT_APP_GIT_SHA,
15-
integrations: [new BrowserTracing(), new Replay()],
15+
integrations: [new BrowserTracing(), new Replay({
16+
sessionSampleRate: 1.0,
17+
})],
1618
tracesSampleRate: 1.0
1719
});
1820
}

0 commit comments

Comments
 (0)