diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 8306297a22..63351faf14 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 7111b37699..55cff32b59 100644 --- a/experimental/packages/opentelemetry-instrumentation/hook.mjs +++ b/experimental/packages/opentelemetry-instrumentation/hook.mjs @@ -1,12 +1,11 @@ -/*! - * Copyright 2021 Datadog, Inc. +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -20,9 +19,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 };