sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Report app start more granularly

Open romtsn opened this issue 3 years ago • 2 comments

Description

The app start actually consists of multiple steps (e.g. process creation, bindApplication, etc.), so we could potentially create spans for each of this steps to give more insights for the users on where exactly can they optimize (e.g. system things like process creation cannot be optimized).

Prior art https://github.com/square/papa/blob/db3128e211a3cd916083d87d1d7eeac8cf8b8a56/papa/src/main/java/papa/internal/Perfs.kt

romtsn avatar Jul 19 '22 12:07 romtsn

On Cocoa, we already do that. Maybe worth having a look before starting to implement this https://docs.sentry.io/platforms/apple/performance/instrumentation/automatic-instrumentation/#app-start-instrumentation.

philipphofmann avatar Jul 20 '22 09:07 philipphofmann

Need to cache what happens before the SDK is initialized and later create spans with that information.

adinauer avatar Aug 03 '22 14:08 adinauer

Consider adapting the app-start time here as well.

markushi avatar Mar 29 '23 14:03 markushi