You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converting CommonJS code to ESM (.mjs) files breaks @opentelemetry/instrumentation-graphql. CommonJS version of code works perfectly, ESM version of code does not have any GraphQL spans present
What did you expect to see?
The same spans present in CommonJS version of code
I believe no instrumentation currently works with ESM because there are no support for monkey patching ESM modules right now (see open-telemetry/opentelemetry-js#1946)
What version of OpenTelemetry are you using?
0.20.0
What version of Node are you using?
v14.15.0
What did you do?
Converting CommonJS code to ESM (.mjs) files breaks @opentelemetry/instrumentation-graphql. CommonJS version of code works perfectly, ESM version of code does not have any GraphQL spans present
What did you expect to see?
The same spans present in CommonJS version of code
What did you see instead?
No GraphQL spans
Additional context
Code
tracer.js
service.js
tracer.mjs
service.mjs
package.json
The text was updated successfully, but these errors were encountered: