Skip to content

Vendor @opentelemetry/instrumentation-undici #20165

Description

@linear-code

Vendor in @opentelemetry/instrumentation-undici into the SDK.

Follow this process:

  1. Vendor the instrumentation as-is, with as little changes as possible.
  2. Make sure each vendored file contains the licence on top.
  3. Generally follow this folder layout:
    • src/integrations/tracing/undici/index.ts for the Sentry integration
    • src/integrations/tracing/undici/vendored/xxx for vendored files
  4. Vendor in sub-dependencies of the instrumentation as much as possible, including types. Avoid adding runtime dependencies to the SDK.
  5. Disable eslint for the files if necessary in the initial PR, and fix those in a follow-up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions