Skip to content

rewrite of fetch is not exact  #11466

Closed
Closed
@cuijiudai

Description

@cuijiudai

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/vue

SDK Version

7.49.0

Framework Version

@sentry/vue

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

sentry has rewrite fetch to call finish span when the fetch's then method been called .But the fetch request has no been completed yet, that called a problem that the transaction finished before the fetch complted 。in single-app or qiankun ,that caused transaction always send before the child app loaded when the network is not well or the vendors is large.

Expected Result

make fetch span finish span exact when fetch complete

Actual Result

transaction request send to early before fetch request complete

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: vueIssues related to the Sentry Vue SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions