Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/expediadotcom/haystack-client-node
Haystack bindings for OpenTracing API in node
https://github.com/expediadotcom/haystack-client-node
distributed-tracing microservices monitoring nodejs opentracing
Last synced: 1 day ago
JSON representation
Haystack bindings for OpenTracing API in node
- Host: GitHub
- URL: https://github.com/expediadotcom/haystack-client-node
- Owner: ExpediaDotCom
- License: apache-2.0
- Created: 2018-06-23T09:35:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-11T14:58:12.000Z (over 1 year ago)
- Last Synced: 2024-09-17T11:14:53.822Z (about 2 months ago)
- Topics: distributed-tracing, microservices, monitoring, nodejs, opentracing
- Language: TypeScript
- Size: 97.7 KB
- Stars: 2
- Watchers: 12
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/ExpediaDotCom/haystack-client-node.svg?branch=master)](https://travis-ci.org/ExpediaDotCom/haystack-client-node)
[![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/ExpediaDotCom/haystack/blob/master/LICENSE)# Haystack bindings for Nodejs OpenTracing API.
This is Haystack's client library for Nodejs that implements [OpenTracing API 1.0](https://github.com/opentracing/opentracing-javascript/).
## How to use the library?
Check our detailed [example](examples/index.js) 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
```bash
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