Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onCreate span is missing in all automatic activity transactions #4241

Open
zhukic opened this issue Mar 7, 2025 · 0 comments
Open

onCreate span is missing in all automatic activity transactions #4241

zhukic opened this issue Mar 7, 2025 · 0 comments

Comments

@zhukic
Copy link

zhukic commented Mar 7, 2025

Integration

sentry-android

Build System

Gradle

AGP Version

8.8.0

Proguard

Disabled

Version

8.2.0

Steps to Reproduce

The issue is reproducible with any not-first activity.

Expected Result

All activity transactions contain onCreate and onStart spans.

Actual Result

Only the onStart span exists.

Image

It looks like the root cause is in ActivityLifecycleIntegration - when onActivityPreCreated is called for non-first activity, the firstActivityCreated value is true and ActivityLifecycleSpanHelper.setOnCreateStartTimestamp is not called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Status: Needs Discussion
Development

No branches or pull requests

2 participants