1## Installing New Relic Agent
2`npm install newrelic --save`
3`cp node_modules/newrelic/newrelic.js .`
4or
5`vi .bash_profile`
6`export NEW_RELIC_HOME="/Users/Claudio"`
7
8## Add the config
9```
10exports.config = {
11 app_name: ['Demo Node App'],
12 license_key: 'XXXXX',
13 logging: {
14 level: 'info'
15 }
16}
17```
18
19## Add the agent to the Node App (automatic detection for Express, Restify) *app.js
20`const nr = require('newrelic');`
21
22## Start webserver and see transactions
23`https://rpm.newrelic.com/accounts/XXXX/applications/YYY/transactions`
Created on 11/8/2017