zipkin-instrumentation-fetch

JSON →
library 0.22.0 ·javascript deprecated
verified Jun 7, 2026

Interceptor for wrapping the browser's Fetch API with Zipkin distributed tracing. Version 0.22.0 is the last release of the legacy 0.x line; the package is deprecated in favor of `@zipkin.js/instrumentation-fetch` in the 0.23+ rewrite. It wraps `window.fetch` or a fetch polyfill to automatically propagate trace context via headers and record spans. Key differentiator: designed specifically for Zipkin's JS tracer ecosystem, lightweight, and works in browser environments where fetch is available. Ideal for microservices frontends needing end-to-end tracing with Zipkin.