getsentry / getsentry/sentry-java
Track composable functions with @SentryTraceable annotation
オープン
Android
Improvement
Jetpack Compose
Spans
- 主要言語
- Kotlin
- スター
- 1.4k
- フォーク
- 478
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 67
説明
### 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.
コントリビューションガイド
評価
この issue はまだ評価されていません。