From 833e6950c1ce50fb17feb4790fd1c77a311a3227 Mon Sep 17 00:00:00 2001 From: Nikita Melnikov Date: Wed, 23 Oct 2024 08:55:14 +0100 Subject: [PATCH] requireParentforSpans --- src/cli/instrumentation.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli/instrumentation.ts b/src/cli/instrumentation.ts index f6e667b9..8398c6f9 100644 --- a/src/cli/instrumentation.ts +++ b/src/cli/instrumentation.ts @@ -45,7 +45,9 @@ const sdk = new NodeSDK({ new HttpInstrumentation({ requireParentforOutgoingSpans: true }), - new UndiciInstrumentation(), + new UndiciInstrumentation({ + requireParentforSpans: true + }), new FastifyInstrumentation(), new PinoInstrumentation() ],