Requested by: @runningcode
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Features
- Add
enableStandaloneAppStartTracing option to send app start as a standalone transaction instead of attaching it as a child span of the first activity transaction (#5342)
- Disabled by default; opt in via
options.isEnableStandaloneAppStartTracing = true or manifest meta-data io.sentry.standalone-app-start-tracing.enable
- Emits a transaction named
App Start with op app.start, carrying the existing app start measurements and phase spans (process.load, contentprovider.load, application.load, activity lifecycle spans) as direct children of the root
- The standalone transaction shares the same
traceId as the first ui.load activity transaction so they remain linked in the trace view
- Also covers non-activity starts (broadcast receivers, services, content providers)
Improvements
- Reduce boxing to improve performance (#5523, #5527, #5551)
- Replace
Date with a unix timestamp in SentryNanotimeDate to improve performance (#5550)
SentryNanotimeDate is now marked @ApiStatus.Internal. A new (long unixDateMillis, long nanos) constructor was added, where unixDateMillis is milliseconds since the epoch. The existing (Date, long) constructor is retained but deprecated.
Dependencies
- Upgrade to asyncProfiler 4.4 (#5418)
- Bump Native SDK from v0.14.2 to v0.15.0 (#5528)
Fixes
- Fix attachments being duplicated on native events that carry scope attachments (#5548)
- Fix performance collector scheduling many tasks in a row (#5524)
Requested by: @runningcode
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Features
enableStandaloneAppStartTracingoption to send app start as a standalone transaction instead of attaching it as a child span of the first activity transaction (#5342)options.isEnableStandaloneAppStartTracing = trueor manifest meta-dataio.sentry.standalone-app-start-tracing.enableApp Startwith opapp.start, carrying the existing app start measurements and phase spans (process.load,contentprovider.load,application.load, activity lifecycle spans) as direct children of the roottraceIdas the firstui.loadactivity transaction so they remain linked in the trace viewImprovements
Datewith a unix timestamp inSentryNanotimeDateto improve performance (#5550)SentryNanotimeDateis now marked@ApiStatus.Internal. A new(long unixDateMillis, long nanos)constructor was added, whereunixDateMillisis milliseconds since the epoch. The existing(Date, long)constructor is retained but deprecated.Dependencies
Fixes