
Security News
CISA Rebuffs Funding Concerns as CVE Foundation Draws Criticism
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
opentelemetry-instrumentation-fetch-node
Advanced tools
OpenTelemetry Node 18+ native fetch automatic instrumentation package
OpenTelemetry Node 18+ native fetch automatic instrumentation package.
Existing instrumentation packages (like @opentelemetry/instrumentation-http) do not work with Node 18+ native fetch, which is based on the undici module but packaged in a "strange" way (some sort of internal bundle that I don't really understand). This module uses the new Node diagnostics channel to instrument native fetch.
Note that due to the fact that fetch is lazy loaded in Node, this module will kick off a "phony" fetch to an unparseable URL (blank string) to get the library to load so we don't miss any events (because the diagnostics channel would not yet exist).
See the tests for an example setup - note the onRequest event that allows you to add outbound headers or span attributes or what have you.
FAQs
OpenTelemetry Node 18+ native fetch automatic instrumentation package
We found that opentelemetry-instrumentation-fetch-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.