Skip to content

The name of the transaction generated for the first time by the route hook of the vuerouter will be reset #6047

@ys-zhifu

Description

@ys-zhifu

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which package are you using?

@sentry/vue

SDK Version

7.16.0

Framework Version

vue 3.2.33

Link to Sentry event

No response

Steps to Reproduce

  1. start pagload transaction
  2. beforeNavigate modify transaction name
  3. beforeEach modify the transaction name to to.name

Expected Result

Send a transaction to modify the name in beforeNavigate rather than the transaction of to.name.

The transaction name I want to send is subject to my modification.

Actual Result

Sent a name transaction of to.name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: vueIssues related to the Sentry Vue SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions