-
Notifications
You must be signed in to change notification settings - Fork 571
Closed
Labels
Description
When viewing a stacktrace in Sentry, frames are marked as either in_app or not in_app. Non-in-app frames are collapsed by default. The original in_app decision comes from the SDK; however, at the moment Sentry can't rely on the in_app decision from the SDK and has rules for overriding it.
Two things we can do about this:
- On the Sentry side, remove the redundant checks that set a frame as not in-app if the package is in
site-packagesordist-packages. We already check this on the SDK side. Having this rule on the server side means that it sometimes overrides a higher prio decision (e.g., the user explicitly set theirin_app_includeto include the module). Tracked in Tweakin_apprules for events from Python SDK sentry#79482 - On the SDK side, look into frames with unexpected
in_appvalues and fix the underlying issues. (Tracked by this issue.)
Supersedes #3671
the21st