getsentry / getsentry/sentry

SDK Crash Detection: Support Multiple Exceptions

Open
#97,830 1 comment 0 reactions 0 assignees View on GitHub
Feature Ingestion & Processing
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

The SDK crash detection only detects crashes based on the last exception and doesn't support detecting SDK crashes when there are multiple ones; see

https://github.com/getsentry/sentry/blob/1ca224f599a99b905ddaea982d61b1fb26124863/src/sentry/utils/sdk_crashes/sdk_crash_detector.py#L52-L69

When tackling this issue, we must adopt the event stripper to support stripping data from multiple exceptions.
https://github.com/getsentry/sentry/blob/1ca224f599a99b905ddaea982d61b1fb26124863/src/sentry/utils/sdk_crashes/event_stripper.py#L126-L142

Contributor guide

Open the contributing guide

Research direction

Start with src/sentry/utils/sdk_crashes/sdk_crash_detector.py at lines 52-69 to understand how detection currently uses the last exception. Then read src/sentry/utils/sdk_crashes/event_stripper.py at lines 126-142 and adapt the investigation around stripping data from multiple exceptions; done means SDK crashes are detected when multiple exceptions are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.