From e1e791a3823ff4dd99fe45a5fa9df7aaa04f5c26 Mon Sep 17 00:00:00 2001 From: Connor Pearson Date: Mon, 11 Nov 2024 09:54:48 +0100 Subject: [PATCH] feat(instrumentation): re-export initialize from import-in-the-middle Signed-off-by: Connor Pearson --- experimental/CHANGELOG.md | 2 ++ experimental/packages/opentelemetry-instrumentation/hook.mjs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 8306297a224..63351faf141 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -9,6 +9,8 @@ All notable changes to experimental packages in this project will be documented ### :rocket: (Enhancement) +* feat(instrumentation): re-export initialize function from import-in-the-middle [#5123](https://github.com/open-telemetry/opentelemetry-js/pull/5123) + ### :bug: (Bug Fix) ### :books: (Refine Doc) diff --git a/experimental/packages/opentelemetry-instrumentation/hook.mjs b/experimental/packages/opentelemetry-instrumentation/hook.mjs index 7111b376995..8ae481fb324 100644 --- a/experimental/packages/opentelemetry-instrumentation/hook.mjs +++ b/experimental/packages/opentelemetry-instrumentation/hook.mjs @@ -20,9 +20,10 @@ // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2021 Datadog, Inc. import { + initialize, load, resolve, getFormat, getSource, } from 'import-in-the-middle/hook.mjs'; -export { load, resolve, getFormat, getSource }; +export { initialize, load, resolve, getFormat, getSource };