getsentry / getsentry/sentry-java

Add option to exclude certain HTTP statuses from tracing in SDK

Đang mở
#4,735 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Feature Java Performance (New) Traces
Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
478
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
67

Mô tả

If not already implemented or only partially implemented:
SDK should not trace incoming **404s by default** to reduce noise. Add a config option to exclude specific HTTP statuses from tracing. This should mirror existing behavior in other SDKs ([Laravel](https://github.com/getsentry/sentry-laravel/blob/master/config/sentry.php#L121-L122), [JavaScript](https://github.com/getsentry/sentry-javascript/pull/16205)).

* New config option (e.g. trace_ignore_status_codes: \[404, ...\])
* Backwards compatible (default still traces 404s)
* Tests + docs updated

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.