Features
- Add TTFD (time to full display), which allows you to measure the time it takes to render the full screen (#1920)
- Requires using the routing instrumentation.
- Set
enableTimeToFullDisplayTracing = truein yourSentryFlutterOptionsto enable TTFD - Manually report the end of the full display by calling
SentryFlutter.reportFullyDisplayed() - If not reported within 30 seconds, the span will be automatically finish with the status
deadline_exceeded
- Add TTID (time to initial display), which allows you to measure the time it takes to render the first frame of your screen (#1910)
- Requires using the routing instrumentation.
- Introduces two modes:
automaticmode is enabled by default for all screens and will yield only an approximation result.manualmode requires manual instrumentation and will yield a more accurate result.- To use
manualmode, you need to wrap your desired widget:SentryDisplayWidget(child: MyScreen()).
- To use
- You can mix and match both modes in your app.
- Other significant fixes
didPopdoesn't trigger a new transaction- Change transaction operation name to
ui.loadinstead ofnavigation
- Add override
captureFailedRequestsoption (#1931)- The
diointegration andSentryHttpClientnow take an additionalcaptureFailedRequestsoption. - This is useful if you want to disable this option on native and only enable it on
diofor example.
- The
Improvements
- Update root name for navigator observer (#1934)
- The root name for transactions is now
root /instead ofroot ("/").
- The root name for transactions is now