Skip to content

Outgoing Sentry request on every Next.js API invocation #17335

@kennethkeim

Description

@kennethkeim

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

After deploying to Vercel today, I noticed in the logs that Sentry is making a request on every request. Prior to today's deployment this was not happening. I had just upgraded from @sentry/nextjs version ^9.44.0 to ^10.0.0 with the deployment so I reverted that and re-deployed with V9 but the issue is still happening.

My traces sample rate is set to 0 on client, server, and edge configurations.

I'm not seeing any errors in the Vercel dashboard or Sentry, and the responses are all served successfully, so the request should not be related to errors being reported.

Expected Result

Sentry does not send network requests if tracing is disabled and no errors are thrown

Actual Result

Sentry is making 1-2 network requests for every request to my API endpoint

Image

Product Area

Ingestion and Filtering

Link

No response

DSN

https://26fc90d7c3681ba580bc9a4a505346a5@o423426.ingest.us.sentry.io/4507945506504704

Version

9.44.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions