Skip to content

Configurable DataBag Size/Depth #1105

Closed
@s1lenced7

Description

@s1lenced7

Hi,

I have a short question concerning some serialisation behaviour.
I noticed that event elements can be truncated in accordance with the following constants:

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions