Node.js APM Tracer
APM tracing client for Node.js. Adapted from the Datadog tracer to be compatible with the opentelemtry tracing api.
Since this project supports multiple Node versions, using a version manager such as nvm is recommended.
We use yarn for its workspace functionality, so make sure to install that as well.
To get started once you have Node and yarn installed, run:
Before running the tests, the data stores need to be running. The easiest way to start all of them is to use the provided docker-compose configuration:
$ docker-compose up -d -V --remove-orphans --force-recreate
To run the unit tests, use:
$ yarn test
To run the unit tests continuously in watch mode while developing, use:
$ yarn tdd
To run the memory leak tests, use:
$ yarn leak
Please note that memory leak tests only run on Node
We use ESLint to make sure that new code is conform to our coding standards.
To run the linter, use:
$ yarn lint
When two or more approaches must be compared, please write a benchmark
benchmark/index.js module so that we can keep track of the
most efficient algorithm. To run your benchmark, just:
$ yarn bench