Closed
Description
Hi,
I have a short question concerning some serialisation behaviour.
I noticed that event elements can be truncated in accordance with the following constants:
-
MAX_DATABAG_DEPTH
sentry-python/sentry_sdk/serializer.py
Line 71 in 76aa189
-
MAX_DATABAG_BREADTH
sentry-python/sentry_sdk/serializer.py
Line 72 in 76aa189
Our implementation requires larger sizes and we've had to manually import the serialisation file and change the value as follows (example):
from sentry_sdk import serializer
serializer.MAX_DATABAG_BREADTH = 50
Question:
Is this the intended way of influencing this behaviour, did we miss a certain configuration for this?
Suggestion:
If this is the intended way perhaps provide a kwarg at sentry_sdk.init
instead?
Thx in advance!