We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823c661 commit 88f6dd5Copy full SHA for 88f6dd5
src/collections/_documentation/performance-monitoring/configuration/javascript.md
@@ -44,9 +44,21 @@ The `Tracing` integration is specific to `@sentry/browser` and does not work wit
44
The `Tracing` integration resides in the `@sentry/apm` package. You can add it to your `Sentry.init` call:
45
46
```javascript
47
+// Without CDN
48
+
49
import * as Sentry from '@sentry/browser';
50
import { Integrations as ApmIntegrations } from '@sentry/apm';
51
52
+Sentry.init({
53
+ dsn: '___PUBLIC_DSN___',
54
+ integrations: [
55
+ new ApmIntegrations.Tracing(),
56
+ ],
57
+ tracesSampleRate: 0.25,
58
+});
59
60
+// With CDN
61
62
Sentry.init({
63
dsn: '___PUBLIC_DSN___',
64
integrations: [
0 commit comments