fix(instrumentation-fetch): include correct esm version of semconv (#5878)

This commit is contained in:
Jared Freeze 2025-08-27 13:15:35 -05:00 committed by GitHub
parent d3686b813c
commit cb868d74a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ For notes on migrating to 2.x / 0.200.x see [the upgrade guide](doc/upgrade-to-2
### :bug: Bug Fixes
* fix(otlp-exporter-base): prioritize `esnext` export condition as it is more specific [#5458](https://github.com/open-telemetry/opentelemetry-js/pull/5458)
* 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
### :books: Documentation

View File

@ -35,7 +35,7 @@ import {
ATTR_HTTP_METHOD,
ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED,
ATTR_HTTP_REQUEST_BODY_SIZE,
} from '../src/semconv';
} from './semconv';
import {
ATTR_ERROR_TYPE,
ATTR_HTTP_REQUEST_METHOD,