getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.94k stars 1.56k forks source link

Performance panel ID is n/a. #4981

Closed haohongyang1 closed 2 years ago

haohongyang1 commented 2 years ago

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

6.16.0

Framework Version

@react 17.0.2

Link to Sentry event

No response

Steps to Reproduce

  1. This is the reference method in the project. image

  2. This is the log of a single page. image

  3. This is the final data collected. image

Expected Result

The number of users finally collected is the correct data.

Actual Result

image

lforst commented 2 years ago

Hi @haohongyang1, did you identify the user with Sentry.setUser? More info here: https://docs.sentry.io/platforms/javascript/enriching-events/identify-user/

haohongyang1 commented 2 years ago

Hi @haohongyang1, did you identify the user with Sentry.setUser? More info here: https://docs.sentry.io/platforms/javascript/enriching-events/identify-user/

OK, Thank you very much.