zipkin-instrumentation-fetch
This library will wrap the fetch API.
You need to provide your own fetch
implementation; it could for example come from window.fetch
(in the browser),
or node-fetch on Node.js.
Usage
const Tracer = ;const wrapFetch = ; const localServiceName = 'service-a'; // name of this applicationconst tracer = ctxImpl recorder localServiceName; const remoteServiceName = 'youtube';const zipkinFetch = ; // Your application code here;