Skip to content

Commit 4e13822

Browse files
committed
rework sdk init section
1 parent 03e18bf commit 4e13822

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,17 @@ For more details, please see the
5555

5656
### Initializing Server-side SDKs (Node, Bun, Deno, Serverless):
5757

58-
In v8, we support many more node-based packages than before. In order to ensure auto-instrumentation works, the SDK now needs to be imported and
59-
initialized before any other import in your code. We recommend creating a new file to initialize the SDK and specifying
60-
it via the `--require` (CJS) or `--import` (ESM) Node CLI argument. See more details in our migration docs about
61-
[initializing the SDK in v8](https://docs.sentry.io/platforms/javascript/guides/node/migration/v7-to-v8/#updated-sdk-initialization).
58+
In v8, we support a lot more node-based packages than before. In order to ensure auto-instrumentation works, the SDK now
59+
needs to be imported and initialized before any other import in your code.
60+
61+
We recommend creating a new file (e.g. `instrumentation.js`) to import and initialize the SDK. Then, import the file on
62+
top of your entry file or detailed instructions, check our updated SDK setup docs
63+
[initializing the SDK in v8](https://docs.sentry.io/platforms/javascript/guides/node/).
6264

6365
### Performance Monitoring Changes
6466

65-
The API around performance monitoring and tracing has been streamlined, and we've added support for more
66-
integrations out of the box.
67+
The API around performance monitoring and tracing has been streamlined, and we've added support for more integrations
68+
out of the box.
6769

6870
- [Performance Monitoring API](./MIGRATION.md#performance-monitoring-api)
6971
- [Performance Monitoring Integrations](./MIGRATION.md#performance-monitoring-integrations)

0 commit comments

Comments
 (0)