Skip to content

Remove Sentry SDK info from stack trace #85233

Open
Listed in 2 issues
Open
Improvement
Listed in 2 issues
@smeubank

Description

@smeubank
Member

Problem Statement

Sentry SDKs wrap user land code, and this can show up in the stack trace which is shown in Sentry. It is a confusing signal, which misleads developers to think the Sentry SDK was involved in the error.

Image

Solution Brainstorm

We "beautify" stack traces in many ways already. Let's remove this in the default product view as well. It can be something the user can toggle on and off they like.

If it is not possible to "beuatify" this, or when toggled on there should be an info bubble on such stack frames which explains why the Sentry SDK is there and that there is no concern.

Product Area

Issues

Activity

getsantry

getsantry commented on Feb 14, 2025

@getsantry
Contributor

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

scttcper

scttcper commented on Feb 14, 2025

@scttcper
Member

@smeubank would be looking for just sentry/browser frames or is there another pattern we should filter out that would be safe?

smeubank

smeubank commented on Feb 17, 2025

@smeubank
MemberAuthor

@smeubank would be looking for just sentry/browser frames or is there another pattern we should filter out that would be safe?

Also sentry/node, but I will also check with the team

Lms24

Lms24 commented on Feb 17, 2025

@Lms24
Member

for JS, I'd say we should probably match all @sentry/* packages. Most importantly though @sentry/(core|node|browser) which is where instrumentation that causes this lives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @scttcper@Lms24@smeubank

        Issue actions

          Remove Sentry SDK info from stack trace · Issue #85233 · getsentry/sentry