A wrapper library to instrument axios HTTP-client with Zipkin distributed tracing. Version 0.1.0 provides a simple wrapAxios(axios, options) function that returns a traced axios instance. Integrates with the Zipkin Tracer and requires explicit context, recorder, and logger setup. Minimal documentation, low maintenance activity on GitHub. Differentiates from other HTTP instrumentation by focusing specifically on axios with a thin wrapper pattern.
npm install zipkin-instrumentation-axiosNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates wrapping an axios instance with Zipkin tracing using ExplicitContext and BatchRecorder.
Create a fresh axios instance or use 'axios.create()' before wrapping.
Run 'npm install zipkin zipkin-transport-http'.
Create a custom type declaration or use @ts-ignore.
npm install zipkin
const wrapAxios = require('zipkin-instrumentation-axios');