Skip to content

Implement EventScrubber #1823

Description

@IlkhamGaysin

Hey guys, I've my Ruby on Rails application accepting Data URI scheme in params.
Sentry has the limits on payload size described here. Meanwhile sentry does not call before_send hook to filter payload for TransactionEvent.
Here is the condition

I've had a problem with sending events to Setry where the sentry server has returned 413 body: {"detail":"failed to read request body","causes":["A payload reached size limit."]}.
I've filtered the Data URI string on before_send and before_breadcrumb which reduced payload size a bit but the problem still remains the same the sentry server returns 413 error. I've debuged and found that spans are not filtered and have that Data URI string.
My question is why sentry does not allow to filter sensitive data from spans? Would that be reasonable to implemet that?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions