Skip to content

Programatic way to indicate that a pageload / navigation transaction has completed #14810

@bcoe

Description

@bcoe

Problem Statement

When setting duration on pageload / navigation transactions today, we use a heuristic approach to determine the timing

From internal conversation:

IIRC they end via a combination of idleTimeout, finalTimeout, and heartbeatInterval (docs), or a new transaction starting.

Being a heuristic, there are many opinions about what constitutes the completion of a pageload or navigation event. Rather than addressing all these alternate opinions, it would be interesting to give developers a programatic way to indicate that the pageload, or navigation, is complete.

Solution Brainstorm

I could imagine something like this:

Sentry.reportPageLoaded()

Similar to Time to Full Display is handled.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions