getsentry / getsentry/sentry-python
Span Filter Option ignoreSpans
- Ngôn ngữ chính
- Python
- Star
- 2.2k
- Fork
- 669
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 213
Mô tả
### Problem Statement
Hi, there's no way to filter out spans, like beforeSpan in javascript (which is getting deprecated in v9 JS SDK)

similar GH issue
- https://github.com/getsentry/sentry-python/issues/3245
- https://github.com/getsentry/sentry-python/issues/1895
### 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.

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

regex would work nice
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.