@@ -16,10 +16,21 @@ Sentry.init({
1616 // if your build tool supports it.
17171818 integrations: [
19+ // ___PRODUCT_OPTION_START___ performance
1920 Sentry .browserTracingIntegration (),
21+ // ___PRODUCT_OPTION_END___ performance
22+ // ___PRODUCT_OPTION_START___ session-replay
2023 Sentry .replayIntegration (),
24+ // ___PRODUCT_OPTION_END___ session-replay
25+ // ___PRODUCT_OPTION_START___ user-feedback
26+ Sentry .feedbackIntegration ({
27+ // Additional SDK configuration goes in here, for example:
28+ colorScheme: " system" ,
29+ }),
30+ // ___PRODUCT_OPTION_END___ user-feedback
2131 ],
2232
33+ // ___PRODUCT_OPTION_START___ performance
2334 // Set tracesSampleRate to 1.0 to capture 100%
2435 // of transactions for tracing.
2536 // We recommend adjusting this value in production
@@ -29,13 +40,16 @@ Sentry.init({
2940
3041 // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
3142 tracePropagationTargets: [" localhost" , / ^ https:\/\/ yourserver\. io\/ api/ ],
43+ // ___PRODUCT_OPTION_END___ performance
3244
45+ // ___PRODUCT_OPTION_START___ session-replay
3346 // Capture Replay for 10% of all sessions,
3447 // plus for 100% of sessions with an error
3548 // Learn more at
3649 // https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
3750 replaysSessionSampleRate: 0.1 ,
3851 replaysOnErrorSampleRate: 1.0 ,
52+ // ___PRODUCT_OPTION_END___ session-replay
3953});
4054```
4155
@@ -58,10 +72,21 @@ Sentry.init({
5872 // if your build tool supports it.
59736074 integrations: [
75+ // ___PRODUCT_OPTION_START___ performance
6176 Sentry .browserTracingIntegration (),
77+ // ___PRODUCT_OPTION_END___ performance
78+ // ___PRODUCT_OPTION_START___ session-replay
6279 Sentry .replayIntegration (),
80+ // ___PRODUCT_OPTION_END___ session-replay
81+ // ___PRODUCT_OPTION_START___ user-feedback
82+ Sentry .feedbackIntegration ({
83+ // Additional SDK configuration goes in here, for example:
84+ colorScheme: " system" ,
85+ }),
86+ // ___PRODUCT_OPTION_END___ user-feedback
6387 ],
6488
89+ // ___PRODUCT_OPTION_START___ performance
6590 // Set tracesSampleRate to 1.0 to capture 100%
6691 // of transactions for tracing.
6792 // We recommend adjusting this value in production
@@ -71,13 +96,16 @@ Sentry.init({
7196
7297 // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
7398 tracePropagationTargets: [" localhost" , / ^ https:\/\/ yourserver\. io\/ api/ ],
99+ // ___PRODUCT_OPTION_END___ performance
74100
101+ // ___PRODUCT_OPTION_START___ session-replay
75102 // Capture Replay for 10% of all sessions,
76103 // plus for 100% of sessions with an error
77104 // Learn more at
78105 // https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
79106 replaysSessionSampleRate: 0.1 ,
80107 replaysOnErrorSampleRate: 1.0 ,
108+ // ___PRODUCT_OPTION_END___ session-replay
81109 });
82110 };
83111 </script >
@@ -102,10 +130,21 @@ Sentry.init({
102130 // if your build tool supports it.
103131104132 integrations: [
133+ // ___PRODUCT_OPTION_START___ performance
105134 Sentry .browserTracingIntegration (),
135+ // ___PRODUCT_OPTION_END___ performance
136+ // ___PRODUCT_OPTION_START___ session-replay
106137 Sentry .replayIntegration (),
138+ // ___PRODUCT_OPTION_END___ session-replay
139+ // ___PRODUCT_OPTION_START___ user-feedback
140+ Sentry .feedbackIntegration ({
141+ // Additional SDK configuration goes in here, for example:
142+ colorScheme: " system" ,
143+ }),
144+ // ___PRODUCT_OPTION_END___ user-feedback
107145 ],
108146
147+ // ___PRODUCT_OPTION_START___ performance
109148 // Set tracesSampleRate to 1.0 to capture 100%
110149 // of transactions for tracing.
111150 // We recommend adjusting this value in production
@@ -115,13 +154,16 @@ Sentry.init({
115154
116155 // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
117156 tracePropagationTargets: [" localhost" , / ^ https:\/\/ yourserver\. io\/ api/ ],
157+ // ___PRODUCT_OPTION_END___ performance
118158
159+ // ___PRODUCT_OPTION_START___ session-replay
119160 // Capture Replay for 10% of all sessions,
120161 // plus for 100% of sessions with an error
121162 // Learn more at
122163 // https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
123164 replaysSessionSampleRate: 0.1 ,
124165 replaysOnErrorSampleRate: 1.0 ,
166+ // ___PRODUCT_OPTION_END___ session-replay
125167 });
126168 </script >
127169```
0 commit comments