A trace is a report of performance data captured between two points in time in your app. When installed, the Performance Monitoring SDK automatically provides the following types of traces:
- App start traces, which measure the time between when the user opens the app and when the app is responsive.
- Screen traces, which span the lifestyle of a screen and measure slow and frozen frames.
- App in background traces, which measure the time when the app is running in the background.
- App in foreground traces, which measure the time when the app is running in the foreground and available to the user.
Automatic trace definitions
Performance Monitoring uses method calls and notifications in your app to determine when each type of automatic trace starts and stops:
|App start||Starts when the application loads the first
||Starts when the app's
|Screen||Starts for every
||Starts for every
|App in background||Starts when the application receives the
||Starts when the last activity to leave the foreground has its
|App in foreground||Starts when the application receives the
||Starts when the first activity to reach the foreground has its