Skip to content

byteshiva/zipkin-transport-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zipkin-transport-http

This is a module that sends Zipkin trace data to a configurable HTTP endpoint.

Usage:

npm install zipkin-transport-http --save

const {Tracer, BatchRecorder} = require('zipkin');
const {HttpLogger} = require('zipkin-transport-http');

const recorder = new BatchRecorder({
  logger: new HttpLogger({
    endpoint: 'http://localhost:9411/api/v1/spans'
  })
});

const tracer = new Tracer({
  recorder,
  ctxImpl // this would typically be a CLSContext or ExplicitContext
});

reference: https://github.com/openzipkin/zipkin-js

About

es5 version for zipkin transport http

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published