opentelemetry-js
opentelemetry-js copied to clipboard
Remove dependency to all exporters in SDK
trafficstars
Followup on https://github.com/open-telemetry/opentelemetry-js/issues/4145
I think we should remove the dependency to all exporters from SDK similar as it was done for Jaeger in https://github.com/open-telemetry/opentelemetry-js/pull/4049.
The OTLP exporters include quite some transitive dependencies like grpc which are often not needed. This results in unneeded long installation time, unneeded high disc size/bundle size. There might be more like longer startup time, higher memory consumption just because unneeded stuff is read and code is held in memory.