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?
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_sendhook to filter payload forTransactionEvent.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_sendandbefore_breadcrumbwhich 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?