getsentry / getsentry/sentry-python

Remove event data trimming

Aperta
#3,310 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Component: SDK Core Errors Improvement Python
Lingua principale
Python
Stelle
2.2k
Fork
669
Merge medio
1g 40m
PR unite (30g)
212

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reading sentry_sdk/serializer.py to understand how event data is trimmed, how _meta data is added, and how string representations are handled. Determine whether the serializer can be removed or adjusted while preserving the needed behavior, then verify that events retain all data without trimming.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.