Skip to content

Commit d94a017

Browse files
authored
fix(docs): Remove references to @sentry/tracing from READMEs (#7600)
1 parent 1403e77 commit d94a017

File tree

5 files changed

+17
-20
lines changed

5 files changed

+17
-20
lines changed

packages/angular-ivy/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,26 +80,25 @@ see `ErrorHandlerOptions` interface in `src/errorhandler.ts`.
8080

8181
### Tracing
8282

83-
`@sentry/angular-ivy` exports a Trace Service, Directive and Decorators that leverage the `@sentry/tracing` Tracing
84-
integration to add Angular related spans to transactions. If the Tracing integration is not enabled, this functionality
85-
will not work. The service itself tracks route changes and durations, where directive and decorators are tracking
86-
components initializations.
83+
`@sentry/angular-ivy` exports a Trace Service, Directive and Decorators that leverage the tracing features to add
84+
Angular-related spans to transactions. If tracing is not enabled, this functionality will not work. The SDK's
85+
`TraceService` itself tracks route changes and durations, while directive and decorators are tracking components
86+
initializations.
8787

8888
#### Install
8989

9090
Registering a Trace Service is a 3-step process.
9191

92-
1. Register and configure the `BrowserTracing` integration from `@sentry/tracing`, including custom Angular routing
92+
1. Register and configure the `BrowserTracing` integration, including custom Angular routing
9393
instrumentation:
9494

9595
```javascript
96-
import { init, instrumentAngularRouting } from '@sentry/angular-ivy';
97-
import { Integrations as TracingIntegrations } from '@sentry/tracing';
96+
import { init, instrumentAngularRouting, BrowserTracing } from '@sentry/angular-ivy';
9897

9998
init({
10099
dsn: '__DSN__',
101100
integrations: [
102-
new TracingIntegrations.BrowserTracing({
101+
new BrowserTracing({
103102
tracingOrigins: ['localhost', 'https://yourserver.io/api'],
104103
routingInstrumentation: instrumentAngularRouting,
105104
}),

packages/angular/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,26 +76,25 @@ see `ErrorHandlerOptions` interface in `src/errorhandler.ts`.
7676

7777
### Tracing
7878

79-
`@sentry/angular` exports a Trace Service, Directive and Decorators that leverage the `@sentry/tracing` Tracing
80-
integration to add Angular related spans to transactions. If the Tracing integration is not enabled, this functionality
81-
will not work. The service itself tracks route changes and durations, where directive and decorators are tracking
79+
`@sentry/angular` exports a Trace Service, Directive and Decorators that leverage the tracing
80+
features to add Angular-related spans to transactions. If tracing is not enabled, this functionality
81+
will not work. The SDK's `TraceService` itself tracks route changes and durations, while directive and decorators are tracking
8282
components initializations.
8383

8484
#### Install
8585

8686
Registering a Trace Service is a 3-step process.
8787

88-
1. Register and configure the `BrowserTracing` integration from `@sentry/tracing`, including custom Angular routing
88+
1. Register and configure the `BrowserTracing` integration, including custom Angular routing
8989
instrumentation:
9090

9191
```javascript
92-
import { init, instrumentAngularRouting } from '@sentry/angular';
93-
import { Integrations as TracingIntegrations } from '@sentry/tracing';
92+
import { init, instrumentAngularRouting, BrowserTracing } from '@sentry/angular';
9493

9594
init({
9695
dsn: '__DSN__',
9796
integrations: [
98-
new TracingIntegrations.BrowserTracing({
97+
new BrowserTracing({
9998
tracingOrigins: ['localhost', 'https://yourserver.io/api'],
10099
routingInstrumentation: instrumentAngularRouting,
101100
}),

packages/gatsby/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To automatically capture the `release` value on Vercel you will need to register
3939

4040
## Sentry Performance
4141

42-
To enable tracing, supply either `tracesSampleRate` or `tracesSampler` to the options and make sure you have installed the `@sentry/tracing` package. This will also turn on the `BrowserTracing` integration for automatic instrumentation of pageloads and navigations.
42+
To enable tracing, supply either `tracesSampleRate` or `tracesSampler` to the options. This will turn on the `BrowserTracing` integration for automatic instrumentation of pageloads and navigations.
4343

4444
```javascript
4545
module.exports = {

packages/react/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export default App;
6767

6868
### Profiler
6969

70-
`@sentry/react` exports a Profiler component that leverages the `@sentry/tracing` Tracing integration to add React related
71-
spans to transactions. If the Tracing integration is not enabled, the Profiler component will not work. The Profiler
70+
`@sentry/react` exports a Profiler component that leverages the tracing features to add React-related
71+
spans to transactions. If tracing is not enabled, the Profiler component will not work. The Profiler
7272
tracks component mount, render duration and updates. Requires React version >= 15.
7373

7474
> app.js

packages/svelte/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ To use the SDK, initialize Sentry in your Svelte entry point `main.js` before yo
2525
import App from "./App.svelte";
2626

2727
import * as Sentry from "@sentry/svelte";
28-
import { BrowserTracing } from "@sentry/tracing";
2928

3029
// Initialize the Sentry SDK here
3130
Sentry.init({
3231
dsn: "__DSN__",
3332
release: "[email protected]",
34-
integrations: [new BrowserTracing()],
33+
integrations: [new Sentry.BrowserTracing()],
3534

3635
// Set tracesSampleRate to 1.0 to capture 100%
3736
// of transactions for performance monitoring.

0 commit comments

Comments
 (0)