Skip to content

ExpediaDotCom/haystack-client-node

Repository files navigation

Build Status License

Haystack bindings for Nodejs OpenTracing API.

This is Haystack's client library for Nodejs that implements OpenTracing API 1.0.

How to use the library?

Check our detailed example on how to initialize tracer, start a span and send it to one of the dispatchers.

How to build this library?

make build

This library has been written in typescript, so we first compile them into js files under dist/ folder

How to run the example code

make build
mkdir -p logs && node dist/examples/index.js

How to release this library?

We publish using the git tag. The version.js under scripts/ folder verifies if new tag is greater than current published version on npm. If it is good, it updates the new version in package.json under dist/ and publish it on npm