Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SentrySDK.start { options in
options.dsn = "___PUBLIC_DSN___"
options.tracePropagationTargets = [
"https://myproject.org",
"https://.*.otherservice.org/.*",
"https://api.otherservice.org/",
]
}
```
Expand All @@ -19,7 +19,7 @@ SentrySDK.start { options in
options.dsn = @"___PUBLIC_DSN___";
options.tracePropagationTargets = @[
@"https://myproject.org",
@"https://.*.otherservice.org/.*"
@"https://api.otherservice.org/"
];
}];
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ If you're using the current version of our JavaScript SDK and have enabled the `
Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [new Sentry.BrowserTracing()],
tracePropagationTargets: [
"https://myproject.org",
"https://.*.otherservice.org/.*",
],
tracePropagationTargets: ["https://myproject.org", /^\/api\//],
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ For client-side you might have to define `tracePropagationTargets` to get around
Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [new Sentry.BrowserTracing()],
tracePropagationTargets: [
"https://myproject.org",
"https://.*.otherservice.org/.*",
],
tracePropagationTargets: ["https://myproject.org", /^\/api\//],
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ If you're using the current version of our Remix SDK, distributed tracing will w
Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [new Sentry.BrowserTracing()],
tracePropagationTargets: [
"https://myproject.org",
"https://.*.otherservice.org/.*",
],
tracePropagationTargets: ["https://myproject.org", /^\/api\//],
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ If you're using the current version of our SvelteKit SDK, distributed tracing wi
Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [new BrowserTracing()],
tracePropagationTargets: [
"https://myproject.org",
"https://.*.otherservice.org/.*",
],
tracePropagationTargets: ["https://myproject.org", /^\/api\//],
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ If you're using the current version of our React Native SDK distributed tracing
```js
Sentry.init({
dsn: "___PUBLIC_DSN___",
tracePropagationTargets: [
"https://myproject.org",
"https://.*.otherservice.org/.*",
],
tracePropagationTargets: ["https://myproject.org", /^\/api\//],
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [new Sentry.BrowserTracing()],
tracePropagationTargets: [
"https://myproject.org",
"https://.*.otherservice.org/.*",
],
tracePropagationTargets: ["https://myproject.org", /^\/api\//],
});
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
tracePropagationTargets: [
"https://myproject.org",
"https://.*.otherservice.org/.*",
],
tracePropagationTargets: ["https://myproject.org", /^\/api\//],
});
```