Skip to content

Conversation

@overbalance
Copy link
Contributor

Which problem is this PR solving?

When including the esm/esnext version of @opentelemetry/instrumentation-fetch, it incorrectly imports the commonjs version of semconv.js

Short description of the changes

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Compile the package and observe the correct path in the build folder: ../src/semconv -> ./semconv

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added
  • Documentation has been updated

@overbalance overbalance requested a review from a team as a code owner August 26, 2025 19:20
@trentm trentm changed the title fix: include correct esm version of semconv fix(instrumentation-fetch): include correct esm version of semconv Aug 26, 2025
@trentm
Copy link
Contributor

trentm commented Aug 26, 2025

@overbalance Thanks! Can you add an entry to "experimental/CHANGELOG.md" please?

Copy link
Contributor

@trentm trentm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modulo the missing changelog entry, this LGTM.

@codecov
Copy link

codecov bot commented Aug 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.06%. Comparing base (d3686b8) to head (b7c702a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5878   +/-   ##
=======================================
  Coverage   95.06%   95.06%           
=======================================
  Files         307      307           
  Lines        8031     8031           
  Branches     1627     1627           
=======================================
  Hits         7635     7635           
  Misses        396      396           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@overbalance overbalance force-pushed the freeze/use-esm-version-of-semconv branch from bdb51e7 to b06489f Compare August 27, 2025 16:03
@overbalance overbalance force-pushed the freeze/use-esm-version-of-semconv branch from b06489f to b7c0323 Compare August 27, 2025 16:04
@overbalance overbalance requested a review from trentm August 27, 2025 16:21
@pichlermarc pichlermarc added this pull request to the merge queue Aug 27, 2025
Merged via the queue into open-telemetry:main with commit cb868d7 Aug 27, 2025
24 checks passed
@opentelemetrybot
Copy link
Contributor

Thank you for your contribution @overbalance! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

@overbalance overbalance deleted the freeze/use-esm-version-of-semconv branch August 27, 2025 19:46
Joozty pushed a commit to Joozty/opentelemetry-js that referenced this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants