getsentry / getsentry/sentry-java
Do not report TTFD span with DEADLINE_EXCEEDED status
- Linguagem predominante
- Kotlin
- Estrelas
- 1.4k
- Forks
- 478
- Merge médio
- 3d 4h
- PRs com merge (30d)
- 72
Descrição
### 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.

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_
Guia de contribuição
Direção de pesquisa
Nenhum arquivo, teste ou ponto de entrada é especificado. Comece localizando a criação de spans TTFD e como as transações DEADLINE_EXCEEDED são tratadas no SDK. O trabalho estará concluído quando os spans TTFD não forem anexados a transações não relacionadas com status DEADLINE_EXCEEDED e houver cobertura para o comportamento alterado.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java, kotlin
- Domínio
- mobile-dev, observability-sre
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100