Vendor in @opentelemetry/instrumentation-nestjs-core into the SDK.
Follow this process:
- Vendor the instrumentation as-is, with as little changes as possible.
- Make sure each vendored file contains the licence on top.
- Generally follow this folder layout:
src/integrations/nestjs-core/index.ts for the Sentry integration
src/integrations/nestjs-core/vendored/xxx for vendored files
- Vendor in sub-dependencies of the instrumentation as much as possible, including types. Avoid adding runtime dependencies to the SDK.
- Disable eslint for the files if necessary in the initial PR, and fix those in a follow-up.
Vendor in
@opentelemetry/instrumentation-nestjs-coreinto the SDK.Follow this process:
src/integrations/nestjs-core/index.tsfor the Sentry integrationsrc/integrations/nestjs-core/vendored/xxxfor vendored files