Skip to content

Custom tags not added to Perfromance Issues #15833

Open
@landenai

Description

@landenai

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

8.37.1

Framework Version

Next 15.0.1

Link to Sentry event

https://demo.sentry.io/issues/6396022267/?project=4508968158429184&query=&referrer=issue-stream&sort=date&stream_index=0

Reproduction Example/SDK Setup

I add a custom tag within a server action before a query is made that triggers a performance issue. When testing locally, I see the tag on the perfromance issue in Sentry. When testing on my vercel deployment, I do not see the tag. Here is how I add the tag

Image

Note: Ive already added console log statements and seen that se has a value.

Steps to Reproduce

  1. Add tag to current scope before query that triggers an N + 1 perfromance issue is made
  2. Trigger issue in Vercel, observe in Sentry

Expected Result

Tag is observable on performance issue in Sentry

Actual Result

Tag is not added to performance issue in Sentry

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions