getsentry / getsentry/sentry-java

Do not report TTFD span with DEADLINE_EXCEEDED status

Abierto
#4,420 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Android Feature Spans
Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
478
Merge medio
2 d 23 h
PR fusionados (30 d)
67

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.