Skip to content

Make routes and matchPath required in react router instrumentation #4618

Closed
@AbhiPrasad

Description

@AbhiPrasad

allRoutes: RouteConfig[] = [],
matchPath?: MatchPath,

This is to minimize cases where users send us un-paramaterized transactions

We'll also have to update docs at https://docs.sentry.io/platforms/javascript/guides/react/configuration/integrations/react-router/#react-router-v4v5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions