getsentry / getsentry/sentry-java

Track composable functions with @SentryTraceable annotation

Đang mở
#2,071 2 bình luận 2 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.