Skip to content

Commit 6ef34f3

Browse files
authored
fix(js): Remove redundant otel note from migration (#9829)
1 parent f1db7d2 commit 6ef34f3

16 files changed

+4
-51
lines changed

includes/migration/javascript-v8/node-other-changes.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ Sentry.init({
1111
});
1212
```
1313

14-
### Removal of `Sentry.Handlers.trpcMiddleware()` in favor of `Sentry.trpcMiddleware()`
15-
16-
The Sentry tRPC middleware got moved from `Sentry.Handlers.trpcMiddleware()` to `Sentry.trpcMiddleware()`.
17-
1814
### Behaviour in combination with `onUncaughtException` handlers in Node.js
1915

2016
Previously the SDK exited the process by default, even though additional `onUncaughtException` may have been registered,

includes/migration/javascript-v8/server-other-changes.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
The `deepReadDirSync` method has been removed as an export from the SDK. There is no replacement API.
44

5+
### Removal of `Sentry.Handlers.trpcMiddleware()` in favor of `Sentry.trpcMiddleware()`
6+
7+
The Sentry tRPC middleware got moved from `Sentry.Handlers.trpcMiddleware()` to `Sentry.trpcMiddleware()`.
8+
59
#### Removal of Client-Side health check transaction filters
610

711
The SDK no longer filters out health check transactions by default. Instead, they are sent to Sentry but still dropped

platform-includes/migration/javascript-v8/important-changes/javascript.astro.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ We now support the following integrations out of the box with 0 configuration:
2525
- `postgresIntegration`: Automatically instruments PostgreSQL
2626
- `prismaIntegration`: Automatically instruments Prisma
2727

28-
If you want to customize the OpenTelemetry setup, see the docs about using [OpenTelemetry with `8.x`](./v8-opentelemetry)
29-
3028
### Removal of `trackHeaders` option for Astro middleware
3129

3230
Instead of opting-in via the middleware config, you can configure if headers should be captured via `requestDataIntegration` options, which defaults to `true` but can be disabled like this:

platform-includes/migration/javascript-v8/important-changes/javascript.aws-lambda.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ If you need to support older versions of Node.js, please use Sentry Serverless S
88

99
With 8.x, the Sentry Serverless SDK for AWS Lambda has been completely overhauled. It is now powered by [OpenTelemetry](https://opentelemetry.io/) under the hood. You do not need to know or understand what OpenTelemetry is in order to use Sentry. We set up OpenTelemetry under the hood, no knowledge of it is required in order to get started, though if you use OpenTelemetry-native APIs to start spans, and Sentry will pick up everything automatically.
1010

11-
If you want to customize the OpenTelemetry setup, see the docs about using [OpenTelemetry with `8.x`](./v8-opentelemetry)
12-
1311
With this change, `@sentry/serverless` has been removed and will no longer be published. The AWS related code now lives in `@sentry/aws-serverless`.
1412

1513
Here's an example of instrumentating your AWS Lambda with Sentry Serverless SDK `8.x`:

platform-includes/migration/javascript-v8/important-changes/javascript.azure-functions.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ If you need to support older versions of Node.js, please use Sentry Node SDK `7.
88

99
With 8.x, @sentry/node has been completely overhauled. It is now powered by [OpenTelemetry](https://opentelemetry.io/) under the hood. You do not need to know or understand what OpenTelemetry is in order to use Sentry. We set up OpenTelemetry under the hood, no knowledge of it is required in order to get started, though if you use OpenTelemetry-native APIs to start spans, and Sentry will pick up everything automatically.
1010

11-
If you want to customize the OpenTelemetry setup, see the docs about using [OpenTelemetry with `8.x`](./v8-opentelemetry)
12-
1311
Here's an example of instrumentating your Azure Function with Sentry Node SDK `8.x`:
1412

1513
```JavaScript

platform-includes/migration/javascript-v8/important-changes/javascript.connect.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ If you need to support older versions of Node.js, please use Sentry Node SDK `7.
88

99
With 8.x, @sentry/node has been completely overhauled. It is now powered by [OpenTelemetry](https://opentelemetry.io/) under the hood. You do not need to know or understand what OpenTelemetry is in order to use Sentry. We set up OpenTelemetry under the hood, no knowledge of it is required in order to get started, though if you use OpenTelemetry-native APIs to start spans, and Sentry will pick up everything automatically.
1010

11-
If you want to customize the OpenTelemetry setup, see the docs about using [OpenTelemetry with `8.x`](./v8-opentelemetry)
12-
1311
Here's an example of instrumentating a Connect application with Sentry Node SDK `8.x`:
1412

1513
```JavaScript

platform-includes/migration/javascript-v8/important-changes/javascript.express.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ If you need to support older versions of Node.js, please use Sentry Node SDK `7.
88

99
With 8.x, @sentry/node has been completely overhauled. It is now powered by [OpenTelemetry](https://opentelemetry.io/) under the hood. You do not need to know or understand what OpenTelemetry is in order to use Sentry. We set up OpenTelemetry under the hood, no knowledge of it is required in order to get started, though if you use OpenTelemetry-native APIs to start spans, and Sentry will pick up everything automatically.
1010

11-
If you want to customize the OpenTelemetry setup, see the docs about using [OpenTelemetry with `8.x`](./v8-opentelemetry)
12-
1311
Here's an example of instrumentating an Express application with Sentry Node SDK `8.x`:
1412

1513
```JavaScript

platform-includes/migration/javascript-v8/important-changes/javascript.gcp-functions.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ If you need to support older versions of Node.js, please use Sentry Serverless S
88

99
With 8.x, the Sentry Serverless SDK for Google Cloud Functions has been completely overhauled. It is now powered by [OpenTelemetry](https://opentelemetry.io/) under the hood. You do not need to know or understand what OpenTelemetry is in order to use Sentry. We set up OpenTelemetry under the hood, no knowledge of it is required in order to get started, though if you use OpenTelemetry-native APIs to start spans, and Sentry will pick up everything automatically.
1010

11-
If you want to customize the OpenTelemetry setup, see the docs about using [OpenTelemetry with `8.x`](./v8-opentelemetry)
12-
1311
With this change, `@sentry/serverless` has been removed and will no longer be published. The GCP related code now lives in `@sentry/google-cloud-serverless`.
1412

1513
Here's an example of instrumentating your Google Cloud Function with Sentry Serverless SDK `8.x`:

platform-includes/migration/javascript-v8/important-changes/javascript.koa.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ If you need to support older versions of Node.js, please use Sentry Node SDK `7.
88

99
With 8.x, @sentry/node has been completely overhauled. It is now powered by [OpenTelemetry](https://opentelemetry.io/) under the hood. You do not need to know or understand what OpenTelemetry is in order to use Sentry. We set up OpenTelemetry under the hood, no knowledge of it is required in order to get started, though if you use OpenTelemetry-native APIs to start spans, and Sentry will pick up everything automatically.
1010

11-
If you want to customize the OpenTelemetry setup, see the docs about using [OpenTelemetry with `8.x`](./v8-opentelemetry)
12-
1311
Here's an example of instrumentating a Koa application with Sentry Node SDK `8.x`:
1412

1513
```JavaScript

platform-includes/migration/javascript-v8/important-changes/javascript.nextjs.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ We now support the following integrations out of the box with 0 configuration:
7474
- `postgresIntegration`: Automatically instruments PostgreSQL
7575
- `prismaIntegration`: Automatically instruments Prisma
7676

77-
If you want to customize the OpenTelemetry setup, see the docs about using [OpenTelemetry with `8.x`](./v8-opentelemetry)
78-
7977
### Updated `withSentryConfig` Usage
8078

8179
With `8.x` of the Sentry Next.js SDK, `withSentryConfig` will no longer accept 3 arguments. The second argument (holding options for the Sentry Webpack plugin) and the third argument (holding options for SDK build-time configuration) should now be passed as one:

0 commit comments

Comments
 (0)