getsentry / getsentry/sentry-java
Track composable functions with @SentryTraceable annotation
Abierto
Android
Improvement
Jetpack Compose
Spans
- Lenguaje dominante
- Kotlin
- Estrellas
- 1.4k
- Forks
- 478
- Merge medio
- 2 d 23 h
- PR fusionados (30 d)
- 67
Descripción
### Description
Create transactions/spans for `@Composable` functions annotated with `@SentryTraceable`, so we can enrich events that pop up within that composable lifetime. The code to measure that could roughly look like this:
```kotlin
DisposableEffect(Unit) {
Log.e("SENTRY", "ENTERED COMPOSITION")
onDispose {
Log.e("SENTRY", "LEFT COMPOSITION")
}
}
```
Would require bytecode manipulation through SAGP.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.