npm install --save datadog-tracer
Node >= 4 is required.
The library supports CommonJS and AMD loaders and also exports globally as
NOTE: If you want to use binary propagation, make sure to also include the minimal version of protobuf.js before this library.
NOTE: Remember to replace the version tag with the exact release your project depends upon.
const express =const Tracer =const app =const tracer = service: 'example'// handle errors from Datadog agent. omit this if you want to ignore errorstracerappapp
See the examples folder for more advanced examples.