getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.7k stars 4.05k forks source link

NextJS Profiling Onboarding Wizard #62412

Open smeubank opened 7 months ago

smeubank commented 7 months ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. sentry org
  2. create a nextjs project
  3. new project should be at an empty state for profiling
  4. an in product side bar wizard appears which states that profiling is not available for NextJS

Expected Result

I would expect in Product to be guided to (beta) browser profiling and potentially node profiling for backend NextJS

I am surprised discord is the only thing we have to direct people to. While I get that discord is popular with a lot of tech folks, i don;t think it is default. Is there a generic profiling "coming soon/roadmap" GH Discussion we could link to? GH is more or less a de facto staple of developers

Actual Result

I cannot consistently reproduce getting the side bar wizard to be triggered actually, here is a screenshot from slack

Screenshot 2023-12-28 at 18 08 15

Product Area

Profiling

Link

No response

DSN

No response

Version

No response

JonasBa commented 7 months ago

@anonrig experienced the same thing and iirc it showed up for him later. I'll investigate why it fail

anonrig commented 7 months ago

There are 2 issues in here I believe.

  1. We don't ever cache the static content API requests. IMHO docs/xxxx requests should be at least cached on the browser side.
  2. When https://us.sentry.io/api/0/projects/ORG/PROJ/docs/node-javascript-nextjs-profiling-onboarding-1-install/ fails, we don't retry.