getsentry / getsentry/sentry-python

Remove event data trimming

Open
#3,310 0 comments 0 reactions 0 assignees View on GitHub
Component: SDK Core Errors Improvement Python
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

### Problem Statement

The Python SDK trims data inside an event to make it smaller. This can lead to events that are missing data (for example if more then 10 local vars are in an error event, only the first 10 are shown)

This leads to users contact us or support every once in a while because they are confused by missing data.

We want to remove all data trimming in the events sent to Sentry.

### Solution Brainstorm

The magic happens in https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/serializer.py
We need to check if we can get rid of the whole serializer, because it also adds some `_meta` data which we still might want, and also does some string repr stuff.

We probably need to understand the serializer first before we touch it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.