Skip to content

Batch send log items #4152

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

Closed
antonpirker opened this issue Mar 18, 2025 · 0 comments · Fixed by #4229
Closed

Batch send log items #4152

antonpirker opened this issue Mar 18, 2025 · 0 comments · Fixed by #4229

Comments

@antonpirker
Copy link
Member

In the current PoC each log statement triggers the sending of an envelope. This should be changed.

We should wait for X seconds or Y log items being collected until we create one envelope containing all the available log items and send them to Sentry.

Should work similar as it works/worked for metrics or sessions.

We should also think about having just one thread that collects different kind of data items and sends them to Sentry. Because we already create some threads in the SDK and we sometimes already hit the limits of environments in regard of maximum numbers of threads allowed (in AWS Lambda this is already a problem)

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

Successfully merging a pull request may close this issue.

1 participant