From 4514c5827f2bb16e2a1e1f7b7bd43753c2e931de Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Thu, 25 Jul 2024 11:28:07 +0200 Subject: [PATCH] Update docs/platforms/javascript/common/tracing/instrumentation/opentelemetry.mdx Co-authored-by: Francesco Novy --- .../javascript/common/tracing/instrumentation/opentelemetry.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");