opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

Remove dependency to all exporters in SDK

Open Flarna opened this issue 2 years ago • 6 comments
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.

Flarna avatar Sep 15 '23 08:09 Flarna