getsentry / getsentry/sentry-java

Do not report TTFD span with DEADLINE_EXCEEDED status

Ouverte
#4,420 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Android Feature Spans
Langage dominant
Kotlin
Étoiles
1.4k
Forks
478
Merge moyen
2 j 23 h
PR mergées (30 j)
67

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.