Skip to content

Auto-Instrument onCreate and onStart in Activity transactions #2542

@romtsn

Description

@romtsn

Description

We could create spans for each of the callbacks to better surface the performance of each method if they involve some heavy computations (similar to how sentry-cocoa does it for viewDidLoad, viewDidAppear and so on).

Android API 29 and above have new callbacks in the AcitivtyLifecycleCallbacks class (onActivityPreCreated/onActivityPostCreated and friends), so we could utilize them when implementing it.

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions