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

Options to reduce collected data size to the minimum #254

Open
eric-helier opened this issue Jul 4, 2024 · 0 comments
Open

Options to reduce collected data size to the minimum #254

eric-helier opened this issue Jul 4, 2024 · 0 comments

Comments

@eric-helier
Copy link

eric-helier commented Jul 4, 2024

Summary

Testing telemetry-js on a dozen real projects in Airbus, payloads of collected data are very big.

  • npm scope : several hundred kb
  • jsx scope : from 1 to 5 mb

We are thinking that it could be a useful option to limit the output to the bare minimum (as an option or by default depending on your opinions on this)

  • npm scope
    • get the total number of npm dependencies as a metric
    • collect full data only for white listed npm dependencies
  • jsx scope
    • maybe skip the npm attributes that we already get from the npm scope ?

If that's something possible we could be interested in collaborating to bring this options to life, as part of Airbus opensource contributions.

Job stories

Optimize the network requests size so that collected data size is above several hundred kb overall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants