getsentry / getsentry/sentry-java

Do not report TTFD span with DEADLINE_EXCEEDED status

Aperta
#4,420 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Android Feature Spans
Lingua principale
Kotlin
Stelle
1.4k
Fork
478
Merge medio
2g 23h
PR unite (30g)
67

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.