Giter Site home page Giter Site logo

aleffita / dd-trace-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datadog/dd-trace-js

0.0 0.0 0.0 4.96 MB

NODE 12

Home Page: https://docs.datadoghq.com/tracing/

License: Other

Shell 0.07% JavaScript 99.55% HTML 0.27% Dockerfile 0.08% Gherkin 0.03%

dd-trace-js's Introduction

dd-trace-js

Hi I'm Aleffeh, I did this fork in order to support node12 as min version to datadog-ci due to my current project requirements.

THIS FORK IS NOT GUARANTED TO WORK, DATADOG USES NODE14 AS MIN VERSION.

npm npm (tag) CircleCI codecov

Node.js APM Tracer

Datadog APM tracing client for Node.js.

Getting Started

For a basic product overview, check out our setup documentation.

For installation, configuration, and details about using the API, check out our API documentation.

For descriptions of terminology used in APM, take a look at the official documentation.

Development

Before contributing to this open source project, read our CONTRIBUTING.md.

Security Vulnerabilities

If you have found a security issue, please contact the security team directly at [email protected].

Requirements

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:

$ yarn

Testing

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

Unit Tests

To run the unit tests, use:

$ yarn test

To run the unit tests continuously in watch mode while developing, use:

$ yarn tdd

Memory Leaks

To run the memory leak tests, use:

$ yarn leak

Please note that memory leak tests only run on Node >=8.

Linting

We use ESLint to make sure that new code is conform to our coding standards.

To run the linter, use:

$ yarn lint

Continuous Integration

We rely on CircleCI 2.0 for our tests. If you want to test how the CI behaves locally, you can use the CircleCI Command Line Interface as described here: https://circleci.com/docs/2.0/local-jobs/

After installing the circleci CLI, simply run one of the following:

$ circleci build --job lint
$ circleci build --job node-leaks
$ circleci build --job node-core-8
$ circleci build --job node-core-10
$ circleci build --job node-core-12
$ circleci build --job node-core-latest

Benchmarks

When two or more approaches must be compared, please write a benchmark in the benchmark/index.js module so that we can keep track of the most efficient algorithm. To run your benchmark, just:

$ yarn bench

dd-trace-js's People

Contributors

aleffita avatar alloy avatar astuyve avatar bengl avatar brettlangdon avatar carlesdd avatar darcyraynerdd avatar dduongnguyen avatar devsnek avatar ericmustin avatar flintinatux avatar fragglebob avatar ganeshkumarsv avatar juan-fernandez avatar justintross avatar khanayan123 avatar kjvalencik avatar kyle-verhoog avatar lennyburdette avatar nilushancosta avatar qard avatar rishabh avatar rochdev avatar sabrenner avatar schmod avatar simon-id avatar tlhunter avatar uurien avatar vecerek avatar wconti27 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.