Follow the example of the portable express instrumentation in #19928
Each of these dependencies in packages/node needs to be:
- Extracted out to a standalone patching library that receives the module export as an option, outside of the node package.
- Loaded into the node sdk with a bare-bones opentelemetry/instrumentation instance.
Consider creating a new packages/integrations to house these, which can be done as a subsequent step (for now, just leaving in packages/core/src/integrations is fine.)
Follow the example of the portable express instrumentation in #19928
Each of these dependencies in packages/node needs to be:
Consider creating a new
packages/integrationsto house these, which can be done as a subsequent step (for now, just leaving inpackages/core/src/integrationsis fine.)node:httpimpls don't use TCs.If they do, this can possibly be discarded?Nope, they don't have TCs fornode:http, so we still need to patch there.