getsentry / getsentry/sentry-java
Compose Navigation - spans not linking to navigation created transaction
- Lingua principale
- Kotlin
- Stelle
- 1.4k
- Fork
- 478
- Merge medio
- 2g 23h
- PR unite (30g)
- 67
Descrizione
### Integration
sentry-android
### Build System
Gradle
### AGP Version
8.3.2
### Proguard
Enabled
### Version
7.16.0
### Steps to Reproduce
Was chatting to support and asked to add info here. ([#137117]())
App is is setup using the following
**Plugins**
```
id("io.sentry.android.gradle") version "4.13.0"
id("io.sentry.kotlin.compiler.gradle") version "4.13.0"
```
**Libraries**
```
sentry-base = "io.sentry:sentry-android:7.16.0"
sentry-compose = "io.sentry:sentry-compose-android:7.16.0"
```
When clicking around the app we eventually see relevant navigation transactions (as a result of the sentry plugin hooking into the navigation)
However all the spans are grouped inside the main activity transaction.
Main Activity Transaction

Navigation Transaction

### Expected Result
For all related spans to be correctly grouped under each navigation transaction
### Actual Result
See steps to reproduce.
Spans are being grouped under main activity transaction.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.