-
Notifications
You must be signed in to change notification settings - Fork 93
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
ref(trimming): Keep frames from both ends of the trace #3905
Conversation
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.
Changes LGTM!
But I'm mostly curious if this change makes sense product-wise.
Let's involved the requester of this change add more info on why exactly this needed and if this doesn't break the current product experience.
@olksdr you're right, we should involve product as this has potential to impact grouping of existing issues. |
IDK that I have any expertise here, but naively I guess my question would be, what would this look like in the product? (I actually don't know what it looks like when we trim only from one end, either.) Will it be clear to the user what's happened and why? |
Currently product shows no indication that frames were trimmed. The only way to know that is guessing that whatever ends up as the first frame doesn't look like thread base or main entry point. |
Can we get traction on this? This is making life hard while debugging recursion bugs |
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.
G2G. I would recommend to show in the user interface that frames were trimmed.
1f78ced
to
84f31c5
Compare
Thanks for merging this. when do we expect this to deployed onto sentry? Stretch ask: It'd be nice to just deduplicate duplicate frames instead of trimming |
@SurenNihalani Most likely deployed already. Related: getsentry/sentry#61034 |
Should be out already!
No, that's definitely a good idea, opened an issue #3956, feel free to leave a comment if you think I missed something in the description! |
Currently we trim frames from only one end of the stacktrace, this works decently well except for recursion errors where you would also be interested in what triggered the recursion initially.
Adjust the trimming to keep some frames from the beginning of the trace, the majority is still taken from the end.