Skip to content

Next.js requests to data fetchers are not traced #5643

Closed
@lforst

Description

@lforst

We don't trace outgoing requests to data-fetchers when navigating: We monkeypatch Route.changeState by starting a transaction when it's called. This doesn't work because the requests to the data fetching endpoints (e.g. getServerSideProps) happen before Route.changeState is called. There are no active transaction when these requests happen so there are no traced requests.

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions