Skip to content

ElementTiming span timestamp uses render time #19260

Description

@nikolovlazar

ElementTiming spans are being emitted with sentry.span_start_time_source: "render-time", and start_timestamp/timestamp set to the render time value (e.g. 0.912) instead of a proper timestamp.

Example span payload:

{
"data": {
"sentry.origin": "auto.ui.browser.elementtiming",
"sentry.op": "ui.elementtiming",
"sentry.source": "component",
"sentry.span_start_time_source": "render-time",
"sentry.transaction_name": "/",
"element.id": "",
"element.type": "h2",
"element.render_time": 912,
"element.load_time": 0,
"element.identifier": "favorites-section",
"element.paint_type": "text-paint"
},
"description": "element[favorites-section]",
"op": "ui.elementtiming",
"parent_span_id": "be8a7d8fcb718936",
"span_id": "ba9779cdd4eb7d9c",
"start_timestamp": 0.912, <---------- wrong"timestamp": 0.912, <---------- wrong"trace_id": "615676074261b7e41169a264f66ad4e5",
"origin": "auto.ui.browser.elementtiming"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BrowserBugjavascriptPull requests that update javascript code

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions