getsentry / getsentry/sentry

Expose logs for symbolication and source context resolution

Open
#75,705 4 comments 1 reaction 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### 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](https://github.com/getsentry/sentry-dotnet/discussions/3509#discussioncomment-10258667), 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](https://github.com/user-attachments/assets/9c644408-5a21-4a4b-a1dc-8c221a75354b)

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

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the stack-trace symbolication and source-context resolution flow in the Sentry project, then define where diagnostics would appear and what information they should expose. The issue does not specify concrete completion criteria beyond making resolution failures understandable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.