Open
Description
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.