Skip to content

Latest commit

 

History

History

code-level-metrics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Code Level Metrics Demo

This is an example application used to test the integration between the New Relic Node.js agent and CodeStream. Along with an Express.js application bootstrapped with agent, it will also continuously make requests to the relevant endpoints.

Getting started

Note: You must have Docker and Docker Compose installed. The steps below are using hey to generate load on the sample app.

  1. Clone or fork this repository.
  2. Copy sample.env to .env and fill out the following keys:
    NEW_RELIC_LICENSE_KEY=<New Relic License Key>
  3. Start containers docker-compose up -d --build

Additional Configuration

If you are a New Relic employee and wanting to testing on a staging environment, add the following:

NEW_RELIC_HOST=staging-collector.newrelic.com