Skip to content

Commit

Permalink
feat(instrumentation): re-export initialize from import-in-the-middle
Browse files Browse the repository at this point in the history
Signed-off-by: Connor Pearson <[email protected]>
  • Loading branch information
cjpearson committed Nov 7, 2024
1 parent 72c9af9 commit e883ea8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions experimental/packages/opentelemetry-instrumentation/hook.mjs
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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 };

0 comments on commit e883ea8

Please sign in to comment.