Skip to content

Errors and not being linked to Spans in traces #2753

@smeubank

Description

@smeubank

Platform

Flutter Mobile Android

Obfuscation

Disabled

Debug Info

Disabled

Doctor

tbd

Version

latest

Steps to Reproduce

run a hello world flutter app
run the new wizard, enable performance
load app, trigger error when SDK inits or add a bug on some page in your app

Expected Result

There is a span waterfal for the UI page load and errors are linked to it logically

Actual Result

Error(s) appear on a trace, and app span waterfalls appear on different traces

Image

and these traces never have an error in them

Image

Example from a Vue.js application where this is working correctly:

Image

### Tasks
- [ ] If navigation observer is available it controls the trace id generation
- [ ] If navigation observer is not available on mobile should rely on lifecycle hooks to control trace id generation
- [ ] if navigation observer is not available on web, the trace id will stick until refresh

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions