Skip to content

Sentry Replay doesn't track network requests which were done in a webworker #16570

Open
@KingSora

Description

@KingSora

Problem Statement

Fetch or XHR requests which were done inside of a webworker are not captured by the replayIntegration.

Solution Brainstorm

I'm not sure how to solve this issue.. I was thinking about manually sending message between the main thread and the worker. So sentry would offer an utility which captures fetch and xhr requests inside of an worker, that utility would then send messages to the main thread every time something is captured. On the main thread we would again need an utility which listens to worker events and dispatches the received events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions