File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
src/platform-includes/performance/configure-sample-rate Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,13 @@ Sentry.init({
12
12
// If you only want to use custom instrumentation:
13
13
// * Remove the `BrowserTracing` integration
14
14
// * add `Sentry.addTracingExtensions()` above your Sentry.init() call
15
- integrations: [
16
- new Sentry.BrowserTracing ({
17
- // Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled
18
- tracePropagationTargets: [" localhost" , / ^ https:\/\/ yourserver\. io\/ api/ ],
19
- }),
20
- ],
15
+ integrations: [new Sentry.BrowserTracing ()],
21
16
22
17
// We recommend adjusting this value in production, or using tracesSampler
23
18
// for finer control
24
19
tracesSampleRate: 1.0 ,
20
+ // Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled
21
+ tracePropagationTargets: [" localhost" , / ^ https:\/\/ yourserver\. io\/ api/ ],
25
22
});
26
23
```
27
24
You can’t perform that action at this time.
0 commit comments