Skip to content

Commit 5dc4783

Browse files
author
Shannon Anahata
committed
fixing session replay responsiveness in code blocks
1 parent b12bbd7 commit 5dc4783

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,25 +127,25 @@ Sentry.init({
127127
// https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
128128
tracesSampleRate: 1.0,
129129
// ___PRODUCT_OPTION_END___ performance
130-
// ___PRODUCT_OPTION_START___ session-replay
131-
// Replay may only be enabled for the client-side
132130
integrations: [
131+
// ___PRODUCT_OPTION_START___ session-replay
133132
Sentry.replayIntegration(),
133+
// ___PRODUCT_OPTION_END___ session-replay
134134
// ___PRODUCT_OPTION_START___ user-feedback
135135
Sentry.feedbackIntegration({
136136
// Additional SDK configuration goes in here, for example:
137137
colorScheme: "system",
138138
}),
139139
// ___PRODUCT_OPTION_END___ user-feedback
140140
],
141+
// ___PRODUCT_OPTION_START___ session-replay
141142

142143
// Capture Replay for 10% of all sessions,
143144
// plus for 100% of sessions with an error
144145
// Learn more at
145146
// https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
146147
replaysSessionSampleRate: 0.1,
147148
replaysOnErrorSampleRate: 1.0,
148-
149149
// ___PRODUCT_OPTION_END___ session-replay
150150
// ___PRODUCT_OPTION_START___ logs
151151

0 commit comments

Comments
 (0)