fix: bumped @opentelemetry/instrumentation-tedious from 0.28.0 to 0.40.0 - #2679
Draft
abhilash-sivan wants to merge 7 commits into
Draft
fix: bumped @opentelemetry/instrumentation-tedious from 0.28.0 to 0.40.0#2679abhilash-sivan wants to merge 7 commits into
abhilash-sivan wants to merge 7 commits into
Conversation
abhilash-sivan
force-pushed
the
fix-tedious-esm
branch
2 times, most recently
from
July 31, 2026 11:36
6dafe24 to
b5cbce4
Compare
abhilash-sivan
commented
Jul 31, 2026
| expect(span.data.tags['db.user']).to.eql('admin@instana@nodejs-team-db-server'); | ||
| expect(span.data.tags['db.statement']).to.eql(expectedStatement); | ||
| expect(span.data.tags['net.peer.name']).to.eql('nodejs-team-db-server.database.windows.net'); | ||
| expect(span.data.tags['db.system.name']).to.eql('microsoft.sql_server'); |
Contributor
Author
There was a problem hiding this comment.
changed assertions to adapt new semconv
The stable OpenTelemetry semantic conventions (v1.33.0+) are supported starting with @opentelemetry/instrumentation-tedious v0.39.0. See the Semantic Conventions section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refs https://jsw.ibm.com/browse/INSTA-97288
Summary
Reason
@opentelemetry/instrumentation-tedious@0.40.0 depends on a newer @opentelemetry/instrumentation version that requires import-in-the-middle@^3. Keeping import-in-the-middle@2.x caused npm to install multiple IITM versions, which broke ESM module interception and prevented Tedious instrumentation from patching correctly.
Fix
Pinned import-in-the-middle to 3.3.2, ensuring all instrumentation uses a single shared IITM instance, restoring ESM tracing while remaining compatible with the updated OpenTelemetry instrumentation.
PR body