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

Span Filter Option ignoreSpans #3859

Open
thinkocapo opened this issue Dec 5, 2024 · 1 comment
Open

Span Filter Option ignoreSpans #3859

thinkocapo opened this issue Dec 5, 2024 · 1 comment

Comments

@thinkocapo
Copy link

Problem Statement

Hi, there's no way to filter out spans, like beforeSpan in javascript (which is getting deprecated in v9 JS SDK)
Image

similar GH issue

Solution Brainstorm

Sentry.init({
    ignorSpans: ['span_description']
})

or it could take a span attribute that represents multiple, like something for this span type that always says 'browser', maybe user wants to remove all spans that say browser.
Image

or maybe user wants 1 http spans for a http request but not all the sub spans here like .proxy .dns etc.
Image

regex would work nice

@sentrivana
Copy link
Contributor

See also #1895 for a Celery example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants