Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting http.server spans in Next.js server components #629

Open
landenai opened this issue Nov 18, 2024 · 1 comment
Open

Not getting http.server spans in Next.js server components #629

landenai opened this issue Nov 18, 2024 · 1 comment

Comments

@landenai
Copy link
Contributor

landenai commented Nov 18, 2024

Environment

Steps to Reproduce:

Expected Result:

  • We see two separate /products pageload traces with http.server spans

Actual Result:

  • After step a), we see a /products pageload trace with no http.server spans (like this)
  • When you reload the page, the original trace gets “enriched” with the server spans (like this). There is an additional trace with the same time stamp and a http.server span at the root (example).
  • There is also a trace for the second /products pageload without http.server spans (this may take a few moments to appear). If you were to refresh a third time, this trace would get “enriched” with server spans and the cycle would continue
@lforst
Copy link
Collaborator

lforst commented Nov 19, 2024

Theory is that serverside trace data isn't flushed properly on Vercel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants