Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@opentelemetry/instrumentation-fs": "0.23.0",
"@opentelemetry/instrumentation-generic-pool": "0.47.0",
"@opentelemetry/instrumentation-graphql": "0.51.0",
"@opentelemetry/instrumentation-hapi": "0.50.0",
"@opentelemetry/instrumentation-hapi": "0.51.0",
Copy link

Choose a reason for hiding this comment

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

Bug: Hapi Plugin Upgrade Causes Instrumentation Version Conflict

Upgrading @opentelemetry/instrumentation-hapi to 0.51.0 introduces a version conflict. This new version requires @opentelemetry/instrumentation@^0.204.0, while the main package.json still specifies ^0.203.0. This mismatch results in multiple versions of the instrumentation package being installed, potentially causing runtime issues and increased bundle size.

Fix in Cursor Fix in Web

"@opentelemetry/instrumentation-http": "0.203.0",
"@opentelemetry/instrumentation-ioredis": "0.52.0",
"@opentelemetry/instrumentation-kafkajs": "0.13.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5970,13 +5970,13 @@
dependencies:
"@opentelemetry/instrumentation" "^0.203.0"

"@opentelemetry/instrumentation-hapi@0.50.0":
version "0.50.0"
resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-hapi/-/instrumentation-hapi-0.50.0.tgz#c755e9c21bfeb82046221bfd51303f816ae649e8"
integrity sha512-5xGusXOFQXKacrZmDbpHQzqYD1gIkrMWuwvlrEPkYOsjUqGUjl1HbxCsn5Y9bUXOCgP1Lj6A4PcKt1UiJ2MujA==
"@opentelemetry/instrumentation-hapi@0.51.0":
version "0.51.0"
resolved "https://registry.yarnpkg.com/@opentelemetry/instrumentation-hapi/-/instrumentation-hapi-0.51.0.tgz#879926dfbb2e1609cc8658392167b1456c75d9e0"
integrity sha512-qyf27DaFNL1Qhbo/da+04MSCw982B02FhuOS5/UF+PMhM61CcOiu7fPuXj8TvbqyReQuJFljXE6UirlvoT/62g==
dependencies:
"@opentelemetry/core" "^2.0.0"
"@opentelemetry/instrumentation" "^0.203.0"
"@opentelemetry/instrumentation" "^0.204.0"
"@opentelemetry/semantic-conventions" "^1.27.0"

"@opentelemetry/[email protected]":
Expand Down
Loading