Skip to content
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

Expose logs for symbolication and source context resolution #75705

Open
jamescrosswell opened this issue Aug 7, 2024 · 4 comments
Open

Expose logs for symbolication and source context resolution #75705

jamescrosswell opened this issue Aug 7, 2024 · 4 comments

Comments

@jamescrosswell
Copy link

jamescrosswell commented Aug 7, 2024

Problem Statement

When you can't see symbols or source context for events after uploading debug companion files and source code using the Sentry CLI, there's no easy way to determine what the problem might be.

sentry-cli can be run with debug verbosity, which helps resolve issues uploading files. The debug files area of the sentry project settings gives an overview of which files have been uploaded (and whether symbols/source are present). However, if symbols and source are successfully uploaded but Sentry is still not able to resolve the symbols/source for events, there is no information available to SDK users letting them know why (or how to fix this).

In this discussion thread, for example, I've been going back and forth with a user to try to get any kind of symbolication working for a sample app that he provided. After 3 days, we finally managed to get it working just by trial and error and, even then, using settings that are suboptimal and inappropriate for a production application.

Solution Brainstorm

When showing a stack trace for which Sentry is unable to resolve symbols or source context, it would be great if there was some way to view some "logs" for the process of resolving symbols/source that could indicate why resolution is failing.

Image

Currently the ... menu lets you force the stack trace to be unsymbolicated. That menu could include an option to show "Symbolication Diagnostics" and/or "Source Context Diagnostics".

This might also be a good launching pad into some kind of tutorial to show people how to enrich their stack traces with symbolication and source context, if they're not aware of those features of Sentry.

Product Area

Unknown

@getsantry
Copy link
Contributor

getsantry bot commented Aug 7, 2024

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

@mrduncan
Copy link
Member

mrduncan commented Aug 7, 2024

@getsentry/product-owners-processing what information (if any) do we currently have available to show to users?

@getsantry
Copy link
Contributor

getsantry bot commented Aug 7, 2024

Routing to @getsentry/product-owners-processing for triage ⏲️

@bruno-garcia
Copy link
Member

cc @olksdr for processing and @matejminar for ideas of the UI
I believe we might have context on the issue to why it failed, we just don't show it?

@bruno-garcia bruno-garcia added this to GDX Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Status: No status
Development

No branches or pull requests

3 participants