[all] support ESM instrumentation for Node.js v18.19, v20, v21 #2021
Labels
needs:code-contribution
This feature/bug is ready to implement
pkg:instrumentation-bunyan
pkg:instrumentation-ioredis
pkg:instrumentation-koa
pkg:instrumentation-pg
pkg:instrumentation-pino
type:feature-tracking
A feature with sub-issues that need to be addressed
Currently we use an older version of
import-in-the-middle
that does not work withWe're blocked on updating to
[email protected]
in the core repo as that version includes a bug (nodejs/import-in-the-middle#57) which breaks our way of detecting ESM packages. We do this ESM detection in multiple packages.To resolve this issue there are two options:
@@toStringTag
property not present on modules passed tohookFn
nodejs/import-in-the-middle#57 upstreamOption 2: implement an ESM detection workaround in this repo, which does not rely on(we're going for option 1)@@toStringTag
in@opentelemetry/instrumentation-koa
@opentelemetry/instrumentation-ioredis
@opentelemetry/instrumentation-bunyan
@opentelemetry/instrumentation-pg
@opentelemetry/instrumentation-pino
Regardless of the option chosen above, we then need to:
import-in-the-middle
version in core, removeimport-in-the-middle
form the ignore list inrenovate.json
and release a new contrib version(done by a maintainer)The text was updated successfully, but these errors were encountered: