Skip to content

Commit cb868d7

Browse files
authored
fix(instrumentation-fetch): include correct esm version of semconv (#5878)
1 parent d3686b8 commit cb868d7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

experimental/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ For notes on migrating to 2.x / 0.200.x see [the upgrade guide](doc/upgrade-to-2
3737
### :bug: Bug Fixes
3838

3939
* fix(otlp-exporter-base): prioritize `esnext` export condition as it is more specific [#5458](https://github.com/open-telemetry/opentelemetry-js/pull/5458)
40+
* fix(instrumentation-fetch): Use ESM version of semconv instead of CJS. Users expecting mixed ESM and CJS modules will now only get ESM modules. [#5878](https://github.com/open-telemetry/opentelemetry-js/pull/5878) @overbalance
4041

4142
### :books: Documentation
4243

experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {
3535
ATTR_HTTP_METHOD,
3636
ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED,
3737
ATTR_HTTP_REQUEST_BODY_SIZE,
38-
} from '../src/semconv';
38+
} from './semconv';
3939
import {
4040
ATTR_ERROR_TYPE,
4141
ATTR_HTTP_REQUEST_METHOD,

0 commit comments

Comments
 (0)