diff --git a/docs/platforms/javascript/common/tracing/instrumentation/opentelemetry.mdx b/docs/platforms/javascript/common/tracing/instrumentation/opentelemetry.mdx index b3f71027b60a7..4630e573709d1 100644 --- a/docs/platforms/javascript/common/tracing/instrumentation/opentelemetry.mdx +++ b/docs/platforms/javascript/common/tracing/instrumentation/opentelemetry.mdx @@ -117,7 +117,7 @@ You can also use any other tracer; all OpenTelemetry spans will be picked up by ## Using a Custom Sampler We recommend using `SentrySampler` as this will correctly will ensure the correct subset of traces is sent to Sentry depending on your `tracesSampleRate`. -If you however need to use your own sampler then make sure to wrap your `SamplingResult` wit our `wrapSamplingDecision` method: +If you however need to use your own sampler then make sure to wrap your `SamplingResult` with our `wrapSamplingDecision` method: ```js {filename: custom-sampler.js} const { wrapSamplingDecision } = require("@sentry/opentelemetry");