getsentry/sentry-java

fragment performance details not showing

Closed this issue · 5 comments

Integration

sentry-android

Build System

Gradle

AGP Version

5.3.0

Proguard

Disabled

Version

8.3.0

Steps to Reproduce

this is my sentry setup

       options.addIntegration(
            FragmentLifecycleIntegration(
                this,
                enableFragmentLifecycleBreadcrumbs = true, // enabled by default
                enableAutoFragmentLifecycleTracing = true  // disabled by default
            )
        )

        options.isEnableTimeToFullDisplayTracing = true
        options.isEnableUserInteractionTracing = true
        options.isEnableAutoActivityLifecycleTracing = true

        options.isEnableAppStartProfiling = true

        options.tracesSampleRate = 1.0
        options.profilesSampleRate = 1.0

Expected Result

I want to see performance insights of my fragments

Actual Result

Image

Thank you @mrzbn for opening up this issue!

As 8.3.0 is the latest version, did you use previous versions as well with the behavior changing with the latest release?

Also, can you please give us more details on what you are expecting to see in the attached screenshot in comparison to what is shown. This would help us to pinpoint what exactly is not working out.

@mrzbn could you also share how your app is structured? Are you using a ViewPager, a bottom navigation, etc?

Thank you @mrzbn for opening up this issue!

As 8.3.0 is the latest version, did you use previous versions as well with the behavior changing with the latest release?

Also, can you please give us more details on what you are expecting to see in the attached screenshot in comparison to what is shown. This would help us to pinpoint what exactly is not working out.

@philprime thank you. I also have previous versions on Sentry and I didn't see any insights about my fragments. I want to see information about my fragments. (also on a different matter, I can't see info about my api calls and average response time)

@mrzbn could you also share how your app is structured? Are you using a ViewPager, a bottom navigation, etc?

@markushi I am using a bottom navigation. but I'm creating fragments and replacing them manually when items of bottom navigation are clicked.

@mrzbn we don't yet support insights for fragments unfortunately, you can track progress in this issue #3719