Skip to content

maorleger/opentelemetry-esm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small repro demonstrating an issue with ESM and OTel instrumentations

To run:

# Use a modern version of nodeJS. I used 16.13.1 as well as 17.4.0 here but you can use any version that supports
# ESM, like 14, 16, etc. If you use nvm I included an nvmrc file
> nvm use

# Install the dependencies
> npm install

# When using CommonJS, require-in-the-middle works as expected
> node index.js

# When using ESM, no spans are produced
> node index.mjs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published