Large number of OTel instrumentation dependencies installed by Sentry #13846
nwalters512
started this conversation in
General
Replies: 1 comment 2 replies
-
Your concern is very valid. Up until now we just kept adding deps for the simple reason that we want to make it dead simple to set up Sentry. I am starting to think that this could go south long term when thinking about, maintenance, reliability, and security. I don't have a specific answer for you but I will take this to the team and discuss. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In recent releases, the number of OpenTelemetry instrumentation packages installed by
@sentry/node
has ballooned to 21:These comprise many megabytes of dependencies that increase install times and bloat the size of our container images with absolutely zero value for our team, application, or users.
Is there any chance that we'll get a
@sentry/node-core
or similar package that doesn't include this OpenTelemetry bloat? This would mirror what OpenTelemetry itself does:@opentelemetry/auto-instrumentations-node
can be used by anyone who wants all possible instrumentation, but one can still piece together their own setup by manually installing and configuring just the constituent packages that they need.If not: what'll happen in the long run here? The official OTel autoinstrumentation package is up to 39
@opentelemetry/instrumentation-*
dependencies, with more being periodically added. Will@sentry/node
just keep adding more and more dependencies to keep up?Beta Was this translation helpful? Give feedback.
All reactions