Skip to content

Node.js 18 fetch not working with http instrumentations #3346

Answered by Flarna
djMax asked this question in Q&A
Discussion options

You must be logged in to vote

the Http instrumentation applies only to the node http module not the http protocol in general.
fetch, http2 (and also undici) are not using http module therefore no spans are created.

To monitor these modules someone has to write an instrumentation.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by djMax
Comment options

You must be logged in to vote
4 replies
@djMax
Comment options

@david-luna
Comment options

@djMax
Comment options

@coderhammer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants