@saqibahmed515/adonis-newrelic

0.1.2 • Public • Published

Registering provider

Setup

Install the package npm i -s @saqibahmed515/adonis-newrelic Add new relic provider in the top of providers list.

// server/app.js

const providers = [
  `@saqibahmed515/adonis-newrelic/providers/Provider`
  // ...
];

In the root directory of the project add newrelic.js. You can either download newrelic.js from your newrelic dashboard or copy from node_modules/newrelic/newrelic.js and update your app name and license key.

This project is a fork of @furbana/adonis-newrelic with a memory leak fix mentioned in this PR.

Package Sidebar

Install

npm i @saqibahmed515/adonis-newrelic

Weekly Downloads

7

Version

0.1.2

License

none

Unpacked Size

14.8 kB

Total Files

4

Last publish

Collaborators

  • saqibahmed515