Skip to content
/ lb-zipkin Public

A middleware layer to make using zipkin in loopback easier

License

Notifications You must be signed in to change notification settings

No9/lb-zipkin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lb-zipkin

A middleware layer to make using zipkin in loopback easier

usage

Creating a loopback project and install zipkin middleware

% lb project_name
% cd project_name
% npm install lb-zipkin -S

Then open the file in project_name/server/middleware.json and add this configuration in the initial section.

The params svcname and baseurl are optional and will be defaulted to the options shown below.

...
    "lb-zipkin": {
             "params": {
               "svcname": "default-service-name",
               "baseurl": "http://localhost:4411"
             }
    }

development

Ensure that you symlink the root folder to the projects in the fixtures folder before running the tests.

i.e.

% ln -s PATH_TO_REPO PATH_TO_REPO/tests/fixtures/simple/node_modules/lb-zipkin

Ensure you have a zipkin instance that is running locally

% npm test

About

A middleware layer to make using zipkin in loopback easier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published