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
Is your feature request related to a problem? Please describe.
import-in-the-middle supports providing a list of modules to include or exclude from hooking
import*asmodulefrom'module'// Exclude intercepting a specific module by namemodule.register('import-in-the-middle/hook.mjs',import.meta.url,{data: {exclude: ['package-i-want-to-exclude']}})// Only intercept a specific module by namemodule.register('import-in-the-middle/hook.mjs',import.meta.url,{data: {include: ['package-i-want-to-include']}})
Describe the solution you'd like
This feature depends on the initialize function being registered, but it is not re-exported by the OpenTelemetry wrapper of hook.mjs.
Describe alternatives you've considered
It's also possible to use 'import-in-the-middle/hook.mjs' directly and skip '@opentelemetry/instrumentation/hook.mjs'.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
import-in-the-middle
supports providing a list of modules to include or exclude from hookingDescribe the solution you'd like
This feature depends on the
initialize
function being registered, but it is not re-exported by the OpenTelemetry wrapper of hook.mjs.Describe alternatives you've considered
It's also possible to use
'import-in-the-middle/hook.mjs'
directly and skip'@opentelemetry/instrumentation/hook.mjs'
.The text was updated successfully, but these errors were encountered: