Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Latest commit

 

History

History
37 lines (27 loc) · 1.15 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.15 KB

newrelic-fibers

Support for fibers in New Relic using cls-fibers

NPM version Build Status MIT License

Usage

npm install newrelic-fibers

newrelic-fibers exports a function that takes a callback.

// Instead of require('newrelic') ...
require('newrelic-fibers')(function(err) {
  if (err) {
    console.error(err);
  }
});

Contributing

Please follow our Code of Conduct when contributing to this project.

$ git clone https://github.com/goodeggs/newrelic-fibers && cd newrelic-fibers
$ npm install
$ npm test

Module scaffold generated by generator-goodeggs-npm.