From 8ecb3005a0a78e8107c51696dc017c555e04bf9c Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Tue, 21 Mar 2023 11:44:58 +0100 Subject: [PATCH] Update otel node propagator instructions --- src/platform-includes/performance/opentelemetry-setup/node.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/platform-includes/performance/opentelemetry-setup/node.mdx b/src/platform-includes/performance/opentelemetry-setup/node.mdx index 8854c87f6c852..297ba6f6182d0 100644 --- a/src/platform-includes/performance/opentelemetry-setup/node.mdx +++ b/src/platform-includes/performance/opentelemetry-setup/node.mdx @@ -32,9 +32,8 @@ const sdk = new opentelemetry.NodeSDK({ // Sentry config spanProcessor: new SentrySpanProcessor(), + textMapPropagator: new SentryPropagator(), }); -otelApi.propagation.setGlobalPropagator(new SentryPropagator()); - sdk.start(); ```