This is a New Relic backend implementation of the Traces gem.
Add the gem to your project's Gemfile. This will also install newrelic_rpm
, the New Relic Ruby agent.
Note: This gem is only available via GitHub.
gem 'traces-backend-newrelic', github: 'newrelic/traces-backend-newrelic'
and run bundle install
to activate the new gem.
When starting your application, set the TRACES_BACKEND
environment variable to traces/backend/newrelic
.
TRACES_BACKEND=traces/backend/newrelic bundle exec rails s
TRACES_BACKEND=traces/backend/newrelic rspec