getsentry / getsentry/sentry-java

Granular control over filtering specific Activity Breadcrumbs

未關閉
#3,864 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Android Errors Improvement
主要語言
Kotlin
星號
1.4k
分支
478
平均合併
3 天 4 小時
30 天內合併 PR
72

描述

### Problem Statement

Opening on behalf of a customer (who referenced this as a "low priority feature request")

Currently you cannot filter selected [Activity breadcrumbs](https://github.com/getsentry/sentry-java/blob/main/sentry-android-core/src/main/java/io/sentry/android/core/ActivityBreadcrumbsIntegration.java), you either have them on or disable them all. It would be nice to have more granular control and be able to filter out some automatic Activity crumbs, but not all of them.

### Solution Brainstorm

Add the ability to filter out specific breadcrumbs. [Fragment breadcrumbs integration already allows for this](https://docs.sentry.io/platforms/android/integrations/fragment/#configure) so maybe we could do something similar for other automatic breadcrumbs?

┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-2345) by [Unito](https://www.unito.io)

貢獻指南

開啟貢獻指南

研究方向

從 sentry-android-core/src/main/java/io/sentry/android/core/ActivityBreadcrumbsIntegration.java 開始,並將其與 issue 中連結的 fragment breadcrumbs 設定進行比較。確定如何在不停用 integration 的情況下篩選選定的自動 Activity breadcrumbs,然後驗證是否可以排除個別的 breadcrumb 類型,同時讓其他類型維持啟用。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
android, java
領域
mobile
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。