This is an example app that uses the New Relic hybrid agent to demonstrate how to create both New Relic and OpenTelemetry spans.
Note: This is used to demonstrate behavior between the New Relic Node.js agent and hybrid agent. The hybrid agent is currently only available to New Relic employees.
git clone [email protected]:newrelic/newrelic-node-opentelemetry-integration.git
npm install
npm link
npm install
cp env.sample .env
# Fill out `NEW_RELIC_LICENSE_KEY`
npm link @newrelic/opentelemetry-integration
docker compose up -d
npm run db:migrate
npm run db:seed
npm start
More to come later...