You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set max-tasks-per-child in Celery to 10000. Use redis as broker. Create a Celery Task that starts 12000 child tasks using .delay().
When max-tasks-per-child is reached our redis integration adds a lot of big breadcrumbs to the scope which are applied to all the success/failure checkins of the child spans.
Because of the size of the breadcrumbs the checkin envelopes are too big and are dropped by the server. Leading to all child spans timing out because the success/failure checking never reaches sentry.
Expected Result
All checkins are sent successfully
Actual Result
The checkins are dropped because of size restriction on the server.
The text was updated successfully, but these errors were encountered:
I do not think it is a problem with the breadcrumb size (because we limit the breadcrumbs because we limit the number of breadcrumbs to 100 in the SDK by default and this will never reach the envelope limit of 20MB compressed
Question: do we set max_breadcrumbs in sentry to a custom value? does not seem like it.
I am not sure where the “envelope exceeded size limit” comes from. I was not able to reproduce this (not even with starting 100k child task (what would lead to 100k breadcrumbs, but as said only the first (or last) 100 will be sent.
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.33.0
Steps to Reproduce
Set
max-tasks-per-child
in Celery to 10000. Useredis
as broker. Create a Celery Task that starts 12000 child tasks using.delay()
.When
max-tasks-per-child
is reached our redis integration adds a lot of big breadcrumbs to the scope which are applied to all the success/failure checkins of the child spans.Because of the size of the breadcrumbs the checkin envelopes are too big and are dropped by the server. Leading to all child spans timing out because the success/failure checking never reaches sentry.
Expected Result
All checkins are sent successfully
Actual Result
The checkins are dropped because of size restriction on the server.
The text was updated successfully, but these errors were encountered: