getsentry / getsentry/sentry-java

Add option to exclude certain HTTP statuses from tracing in SDK

オープン
#4,735 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
Feature Java Performance (New) Traces
主要言語
Kotlin
スター
1.4k
フォーク
478
平均マージ
2日 23時間
マージ済み PR(30日)
67

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。