Skip to content

Clock skew correction should take into account wrong window.performance time on browser platform #191

@sbaum1994

Description

@sbaum1994

In the nowMicros function for the browser platform implementation we try to use window.performance before falling back to Date.now() but these sometimes disagrees with window.performance.now() by significant amounts of time, causing incorrect traces if Date.now() or start times and end times are set in spans that are part of the same report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions