getsentry / getsentry/sentry-java
Track composable functions with @SentryTraceable annotation
Đang mở
Android
Improvement
Jetpack Compose
Spans
- Ngôn ngữ chính
- Kotlin
- Star
- 1.4k
- Fork
- 478
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 69
Mô tả
### 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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.