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

[platform.logsDropped] Unable to process 1000 logs for each invocation #88

Open
maxday opened this issue Jul 28, 2023 · 0 comments
Open

Comments

@maxday
Copy link

maxday commented Jul 28, 2023

Hey team!

We're experiencing an issue while dealing with the Telemetry API when the function has 1k logs.

At some point, we're receiving a platform.logsDropped, likely because we're not succeeding to process the payload sent in a timely fashion (this is what I've understand from the doc)

To make it easier I've attached a PR with a full reproducer. If you invoke the function 10-30 times, you'll see a [dispatcher:Dispatch] LOG DROPPED! meaning that we have indeed received a platform.logsDropped

I've also tried different buffering options (playing with timeoutMs , maxBytes and maxItems ) without any luck.

Thanks!
Max

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

1 participant