getsentry / getsentry/sentry-java

Do not report TTFD span with DEADLINE_EXCEEDED status

未关闭
#4,420 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Android Feature Spans
主要语言
Kotlin
星标
1.4k
派生
478
平均合并
2 天 23 小时
30 天内合并 PR
67

描述

### Problem Statement

Hi!

We started reporting TTFD for one of our screens, and we noticed that the SDK also attaches the TTFD span to all other screens with `DEADLINE_EXCEEDED` status. Since our pricing now depends on span count, it would be better not to attach it to all transactions, because implementing the TTFD reporting for every screen requires additional development.

![Image](https://github.com/user-attachments/assets/1ca48aae-c853-4bca-859f-5b2c7467f733)

I think that we can fix it on our side with a custom `EventProcessor` that will remove such spans, but please consider improving it on the SDK's side.

Thank you!

### Solution Brainstorm

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。