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

Spidermon logs are not properly uploaded #68

Open
rennerocha opened this issue Sep 12, 2022 · 0 comments
Open

Spidermon logs are not properly uploaded #68

rennerocha opened this issue Sep 12, 2022 · 0 comments

Comments

@rennerocha
Copy link

Some Spidermon built-in monitors (like ItemValidationMonitor) increases the size of the stats logged, and because when trying to upload that to Scrapy Cloud, we receive a "Value exceeds max encoded size of 65536 bytes" error message.

One solution suggested was to remove the stats in Spidermon based on a new setting. However, the size limitation is neither Spidermon nor a Scrapy problem, as we don't have limits in how we can use the stats in both libraries.

It is a limitation in a vendor tool (Scrapy Cloud), so one possible solution is to update HubStorageStatsCollector that is the Stats Collector used by Scrapy Cloud to handle this scenario.

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