From 6a875088fcf2fc402da4083b474f9b296b947a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serkan=20=C3=96ZAL?= Date: Fri, 10 Jan 2025 19:31:22 +0300 Subject: [PATCH] Fix typo --- nodejs/packages/layer/src/wrapper.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodejs/packages/layer/src/wrapper.ts b/nodejs/packages/layer/src/wrapper.ts index ef6d933957..05b4ee4335 100644 --- a/nodejs/packages/layer/src/wrapper.ts +++ b/nodejs/packages/layer/src/wrapper.ts @@ -92,14 +92,14 @@ declare global { } function getActiveInstumentations(): Set { - let emabledInstrumentations: string[] = defaultInstrumentationList; + let enabledInstrumentations: string[] = defaultInstrumentationList; if (process.env.OTEL_NODE_ENABLED_INSTRUMENTATIONS) { - emabledInstrumentations = + enabledInstrumentations = process.env.OTEL_NODE_ENABLED_INSTRUMENTATIONS.split(',').map(i => i.trim(), ); } - const instrumentationSet = new Set(emabledInstrumentations); + const instrumentationSet = new Set(enabledInstrumentations); if (process.env.OTEL_NODE_DISABLED_INSTRUMENTATIONS) { const disableInstrumentations = process.env.OTEL_NODE_DISABLED_INSTRUMENTATIONS.split(',').map(i =>