getsentry / getsentry/sentry-java
Add option to exclude certain HTTP statuses from tracing in SDK
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 72
描述
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
貢獻指南
研究方向
首先定位 SDK 的傳入 HTTP tracing 設定,以及涵蓋 HTTP 狀態 tracing 的測試。檢查設定選項是如何撰寫文件的,以及 tracing 決策是如何測試的。完成的標準是存在可設定的狀態排除功能,要求的預設行為維持向後相容,且測試與文件都涵蓋該功能。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java, kotlin
- 領域
- observability-sre
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100