https://github.com/expediadotcom/haystack-blob-node
npm module to handle blobs
https://github.com/expediadotcom/haystack-blob-node
Last synced: 10 months ago
JSON representation
npm module to handle blobs
- Host: GitHub
- URL: https://github.com/expediadotcom/haystack-blob-node
- Owner: ExpediaDotCom
- License: apache-2.0
- Created: 2018-07-02T08:48:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-08T10:29:37.000Z (over 7 years ago)
- Last Synced: 2025-08-16T11:23:15.376Z (10 months ago)
- Language: TypeScript
- Size: 34.2 KB
- Stars: 1
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/ExpediaDotCom/haystack-blob-node)
[](https://github.com/ExpediaDotCom/haystack/blob/master/LICENSE)
# Haystack Blobs Library
node module that dispatches req/resp blobs to haystack-agent and add corresponding span tag
## How to use the library?
Check our detailed [example](examples/index.js) on how to initialize opentracing haystack tracer, blob client, start a span, write request/response blobs 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