Skip to content

Commit

Permalink
allow trace propagation targets from any domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoudz committed Jul 23, 2024
1 parent 904cd9c commit 722b338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ErrorReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ErrorReporter {
],
tracePropagationTargets: [
'localhost',
new RegExp(`^${config.apiUrl}`),
new RegExp('.*'), // Allow any domain
],
// TODO: reduce from 0.5 to 0.1 after Sep 2024
tracesSampleRate: 0.5, // 50% of traces will be captured. Be cautious with a high number in production
Expand Down

0 comments on commit 722b338

Please sign in to comment.