-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(save_event): Always use cache for stacktrace processing #56413
Conversation
We enabled it for EA customers last week without any issues. It reduces the stacktrace normalization by 40%.
@@ -2411,14 +2411,10 @@ def _calculate_event_grouping( | |||
Main entrypoint for modifying/enhancing and grouping an event, writes | |||
hashes back into event payload. | |||
""" | |||
load_stacktrace_from_cache = bool(event.org_can_load_stacktrace_from_cache) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We remove the method in eventstore/models.
@@ -491,10 +487,6 @@ def get_span_groupings( | |||
def organization(self) -> Organization: | |||
return self.project.organization | |||
|
|||
@property | |||
def org_can_load_stacktrace_from_cache(self) -> bool: | |||
return features.has("organizations:stacktrace-processing-caching", self.organization) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature still shows up in src/sentry/features/__init__.py
since it's still in use in getsentry
. We can remove it once we remove it's use from getsentry
.
) | ||
if changed_frames_values and load_from_cache: | ||
if changed_frames_values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what enables it for everyone.
Codecov Report
@@ Coverage Diff @@
## master #56413 +/- ##
========================================
Coverage 78.64% 78.64%
========================================
Files 5075 5076 +1
Lines 218067 218205 +138
Branches 36905 36934 +29
========================================
+ Hits 171490 171615 +125
- Misses 41044 41046 +2
- Partials 5533 5544 +11
|
PR reverted: bb386fa |
…56413)" This reverts commit 8bc7aec. Co-authored-by: lynnagara <[email protected]>
Revert due to large backlogs seen in ingest-attachments that align with this change. |
We enabled it for EA customers last week without any issues. It reduces the stacktrace normalization by 40%. It's most noticeable with Native events. A repeat of #56413 which got reverted by mistake.
We enabled it for EA customers last week without any issues. It reduces the stacktrace normalization by 40%. It's most noticeable with Native events.