Skip to content

Commit e9818d5

Browse files
committed
add trace propagation targets
1 parent 4a7a698 commit e9818d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform-includes/performance/configure-sample-rate/javascript.react-router.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Sentry.init({
1414
// We recommend adjusting this value in production, or using tracesSampler
1515
// for finer control
1616
tracesSampleRate: 1.0,
17+
18+
// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
19+
tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
1720

1821
// ... rest of your config
1922
});

0 commit comments

Comments
 (0)