Skip to content

Updating @opentelemetry dependencies #3248

Answered by Flarna
seanparmelee asked this question in Q&A
Discussion options

You must be logged in to vote

It depends a bit on which packages you use. In some cases it's don't care in others its problematic.
Two examples:

  1. you use @opentelemetry/instrumentation@0.31.0
    This depends on "@opentelemetry/api-metrics": "0.31.0" and peer depends on "@opentelemetry/api": "^1.0.0" and transitive to "@opentelemetry/api": "^1.0.0"
    Therefore this fits fine with 1.6.0 Core and 1.2.0 API and should work
  2. you use @opentelemetry/sdk-node@0.31.0
    This depends on e.g. "@opentelemetry/sdk-trace-base": "1.5.0" (and more pinned 1.5.0 versions)
    Clearly this is problematic and likely wont work well

One more issue regarding use of ranges is that some packages are GA and others are experimental. NPM acts different for …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@seanparmelee
Comment options

Answer selected by seanparmelee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants