fix(instrumentation-fetch): include correct esm version of semconv (#5878)
This commit is contained in:
parent
d3686b813c
commit
cb868d74a4
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue