Skip to content

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

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.

Activity

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

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions