-
Notifications
You must be signed in to change notification settings - Fork 323
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
http-client doesn't receive any data since Node is updated #2707
Comments
Can you provide a minimal reproduction? Something that I can easily run locally that exhibits this issue? Once we have that we should be able to diagnose. |
@ZivojnovicZarko Is this still an issue for you? And if it is, can you provide a reproduction snippet or steps to reproduce? |
I'm working with @ZivojnovicZarko and yes, unfortunately it's still an issue for us. Sorry that we haven't gotten around to setting up a reproducible example yet, but the theory is that setting up a new Next.js project and running it on Node.js (with the specified versions), and then making a |
The fetch API is not yet supported. It's not built on http.Client so you won't get http-client spans from it. |
@Qard oh, interesting. Weird thing is that using plain |
Do you mean global |
I'm saying that global
I see, that's what we were suspecting and what this issue is about then. Weird thing is that the patched version of fetch worked as well on node 16.17.0. (Note: we're using next 12, not next 13 which has the new app directory, RSC and even more patched fetch.) |
Although interesting,
so not sure our theory is actually correct... |
It looks like this issue became a feature request for undici/fetch support. I'll close it as a duplicate of #1615 for now. |
Expected behaviour
dd-trace should send data to datadog http-client service
Actual behaviour
http-client service is missing data
Environment
After updating Node to v.18 on our Next.js project datadog stopped receiving http-client data. On other Node.js project not using Next everything work fine, so our assumption is that something is wrong with combination Next.js / Node 18.
When downgrade Node to version 16.17.0 http-client service is back.
Any idea what should be the issue?
The text was updated successfully, but these errors were encountered: