Skip to content

Compose Navigation - spans not linking to navigation created transaction #3903

Description

@nathan-castlehow

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
Image

Navigation Transaction
Image

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.

Metadata

Metadata

Assignees

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions