opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

add auto instrumentation of http2 module

Open SunilManthenaG01 opened this issue 3 years ago • 8 comments

What version of OpenTelemetry are you using?

"@opentelemetry/api": "^1.0.3", "@opentelemetry/auto-instrumentations-node": "^0.27.0", "@opentelemetry/sdk-node": "^0.27.0", "@opentelemetry/sdk-trace-base": "^1.0.1",

What version of Node are you using?

14.16.1

What did you do?

I created a trace.js file with auto instrumentation and console exporter. When the server is listening to HTTP/HTTPS 1.1, I can see the trace in console.log but when I switch to the http2 server protocol I cant see the traces.

What did you expect to see?

Even with http 2, i should be able to see the trace.

What did you see instead?

Nothing

Additional context

https://github.com/SunilManthenaG01/open-tel-http-2-issue

I create a sample repo for reproducing the issue. where i have one file implemented with http 1.1 and another one with http 2.

SunilManthenaG01 avatar Dec 13 '21 20:12 SunilManthenaG01