Open mydea opened 3 months ago
Once this is released I'll open a PR to migrate to the official instrumentation.
Will this replace the opentelemetry-instrumentation-fetch-node
dependency? If so, it will be very helpful. The latter ships an older version of opentelemetry
(due to a too-restrictive version range), and has generally been problematic in our app - we had to disable the respective integration in Sentry.init.
@amakhrov yes it will replace opentelemetry-instrumentation-fetch-node
.
There is a somewhat new instrumentation now for node-fetch which we could use instead of the community one we are using today: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-undici
However, in order to maintain feature parity, we need to land this first: https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2265