-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Is your feature request related to a problem? Please describe.
When using this library on products like Google App Engine, all the dependencies are installed as part of deployment: https://cloud.google.com/appengine/docs/standard/nodejs/runtime#dependencies
Currently, almost 80% of our install size is just these libraries and their dependencies. This slows down deployments, and results in warning logs about the package size.
For example:
@google-cloud/[email protected]is 103MB installed: https://packagephobia.com/result?p=@google-cloud/[email protected]@google-cloud/opentelemetry-cloud-trace-exporteris 40.6MB installed: https://packagephobia.com/result?p=%40google-cloud%2Fopentelemetry-cloud-trace-exporter
Describe the solution you'd like
Where possible, the number and size of dependencies is cut down so that using these libraries does not negatively affect GAE deployment speed.
Describe alternatives you've considered
Manually bundling and minifying the libraries ourselves. However, this seems likely error prone and adds complexity.