Skip to content

bizob2828/gh-2011

Repository files navigation

Application to attempt to reproduce newrelic/node-newrelic#2011

To setup

npm i
cp node_modules/newrelic/newrelic.js . 
# Fill out app_name and license_key within newrelic.js
# Start application
npm start

To test

Make a request to the application

curl -X POST http://localhost:3004/api/v1/logs -H 'Content-Type: application/json' -d '{
"id": 1,
"data": "Sample log data"
}'