Skip to content

Make transaction name configurable for performance monitoring. #613

@freezy

Description

@freezy

Is your feature request related to a problem? Please describe.

In Sentry's performance monitoring, I'd like to get the path instead of the route name in Sentry.

Describe the solution you'd like

Sentry.vueRouterInstrumentation actually supports this, by passing a configuration object with routeLabel to it.

Describe alternatives you've considered

I've tried using a script through clientConfig that is executed on runtime, but I can't figure out how to access the Vue integration through Context.$sentry so I could patch it.

Additional context

Maybe another vueRouterOptions parameter would do it? Would then be applied as second parameter in vueRouterInstrumentation() here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions