Skip to content

Commit 5a0bdd7

Browse files
Luca Forstnercoolguyzone
andauthored
Apply suggestions from code review
Co-authored-by: Alex Krawiec <[email protected]>
1 parent 5944f30 commit 5a0bdd7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/platforms/javascript/common/opentelemetry/custom-setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sidebar_order: 0
2727

2828
Use this guide when you already have a completely custom OpenTelemetry setup or when you intend to add a custom OpenTelemetry setup next to the Sentry SDK.
2929

30-
If you are looking to simply add individual OpenTelemetry Instrumentation to your Sentry setup, it is recommended to read <PlatformLink to="/opentelemetry/using-opentelemetry-apis/#adding-additional-opentelemetry-instrumentation">Adding Additional OpenTelemetry Instrumentation</PlatformLink> instead.
30+
If you are looking to simply add individual OpenTelemetry instrumentation to your Sentry setup, you should read <PlatformLink to="/opentelemetry/using-opentelemetry-apis/#adding-additional-opentelemetry-instrumentation">Adding Additional OpenTelemetry Instrumentation</PlatformLink> instead.
3131

3232
</Note>
3333

docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ Sentry.init({
4949
<Note>
5050
It is possible to add instrumentations via `registerInstrumentations()` from
5151
`@opentelemetry/instrumentation`. However, with ESM (`import`/`export` syntax)
52-
you need to be careful to do so before `import`ing any modules that should be
52+
you need to be careful to do so before importing any modules that should be
5353
instrumented.
5454

55-
As a rule of thumb, `registerInstrumentations()` should be called right after, and in the same context when registering <PlatformLink to="/opentelemetry/custom-setup/#esm-loaders">ESM Loaders</PlatformLink>.
55+
As a rule of thumb, `registerInstrumentations()` should be called right after, and in the same context as registering <PlatformLink to="/opentelemetry/custom-setup/#esm-loaders">ESM Loaders</PlatformLink>.
5656

5757
</Note>
5858

0 commit comments

Comments
 (0)