Skip to content

Commit cded7ba

Browse files
author
Shannon Anahata
committed
adding replays for client-side note for both setup docs
1 parent 5dc4783 commit cded7ba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/platforms/javascript/guides/nextjs/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Sentry.init({
6969
Sentry.browserTracingIntegration(),
7070
// ___PRODUCT_OPTION_END___ performance
7171
// ___PRODUCT_OPTION_START___ session-replay
72+
// Replay may only be enabled for the client-side
7273
Sentry.replayIntegration(),
7374
// ___PRODUCT_OPTION_END___ session-replay
7475
// ___PRODUCT_OPTION_START___ user-feedback
@@ -93,8 +94,7 @@ Sentry.init({
9394
tracesSampleRate: 1.0,
9495
// ___PRODUCT_OPTION_END___ performance
9596
// ___PRODUCT_OPTION_START___ session-replay
96-
97-
// Capture Replay for 10% of all sessions,
97+
// Capture Replay for 10% of all
9898
// plus for 100% of sessions with an error
9999
// Learn more at
100100
// https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration

docs/platforms/javascript/guides/nextjs/manual-setup.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Sentry.init({
129129
// ___PRODUCT_OPTION_END___ performance
130130
integrations: [
131131
// ___PRODUCT_OPTION_START___ session-replay
132+
// Replay may only be enabled for the client-side
132133
Sentry.replayIntegration(),
133134
// ___PRODUCT_OPTION_END___ session-replay
134135
// ___PRODUCT_OPTION_START___ user-feedback

0 commit comments

Comments
 (0)