Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package size #1272

Open
andreyvital opened this issue Aug 8, 2023 · 4 comments
Open

Package size #1272

andreyvital opened this issue Aug 8, 2023 · 4 comments

Comments

@andreyvital
Copy link

andreyvital commented Aug 8, 2023

Yo datadoggers, how's it going?

Is there any way to avoid that big package size?

image

I am deploying on lambda which runs on size constraints, and even by stripping away *.map and *.d.ts there's still 10mb of diet to do 🤷🏻

For now I'm replacing calls to the SDK with raw HTTP requests. However, I wanted to share that feedback because it makes the usage of the native TS SDK very prohibitive.

@therve
Copy link
Contributor

therve commented Aug 17, 2023

Hi,

Thanks for your report. Unfortunately I don't think there is a quick fix here. Stripping docs and comments only shave a few MB, the core seems to be code. Basic minification doesn't seem to change that much either. We'll update if we find a way.

@andreyvital
Copy link
Author

Thanks!

@github-actions github-actions bot added the stale label Sep 17, 2023
@therve therve added stale/exempt and removed stale labels Sep 18, 2023
@DataDog DataDog deleted a comment from github-actions bot Sep 18, 2023
@github-actions
Copy link

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.

@github-actions github-actions bot added the stale label Oct 19, 2023
@yoga-braavos
Copy link

Joining the request to fix this, we can't use this lib when it is bloated like that and resort to using raw HTTP API requests

@github-actions github-actions bot removed the stale label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants