sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

Increase databag limits

Open alexander-alderman-webb opened this issue 1 month ago • 2 comments

The change affects local variables on exceptions. Currently at most 10 local variables are added to exceptions, and objects up to a depth of 5 are added before <broken_repr> is inserted.

alexander-alderman-webb avatar Oct 23 '25 11:10 alexander-alderman-webb

PY-1915

linear[bot] avatar Oct 23 '25 11:10 linear[bot]

Increasing databag limits caused an increase in errors from the Sentry monolith exceeding the relay size limit from approximately 0.2% to approximately 2%.

  • Prior limits: breadth of 10 and depth of 5.
  • Limits causing 2% rejection: 100 depth and breadth.

alexander-alderman-webb avatar Nov 28 '25 14:11 alexander-alderman-webb