enableFramesTracking property
Enable or disable Frames Tracking, which is used to report frame information for every ISentrySpan.
When enabled, the following metrics are reported for each span:
- Slow frames: The number of frames that exceeded the expected frame duration. For most devices this will be around 16ms
- Frozen frames: The number of frames that took more than 700ms to render, indicating a potential freeze or hang.
- Total frames count: The total number of frames rendered during the span.
- Frames delay: The delayed frame render duration of all frames.
Read more about frames tracking here: https://develop.sentry.dev/sdk/performance/frames-delay/
Defaults to true
Supported platforms: Android, iOS, macOS
Note: If you call WidgetsFlutterBinding.ensureInitialized() before SentryFlutter.init(),
you must use SentryWidgetsFlutterBinding.ensureInitialized() instead.
Implementation
bool enableFramesTracking = true;