getsentry / getsentry/sentry-python

Expand `record_lost_event` to Provide Envelope/Event Data and Integration Data

Open
#4,840 5 comments 0 reactions 0 assignees View on GitHub
Feature Python
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

### Problem Statement

Hello!

Currently [record_lost_event](https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/transport.py#L132) is very limited and only provides `event_processor` as the reason to why an event was dropped. It is also missing data on what type of event depending (specifically on the dedup integration).

What is being dropped and why it is being dropped is important for the consumers of the API and can be used to track their own telemetry.

### Solution Brainstorm

Expose the event and what integration acted upon the event

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.