Add the following gems to your
gem 'activeresource' gem 'newrelic_api'
Update your bundle:
jobs/newrelic_rpm.rb and configure your API key and Application name.
Finally, choose a metric (see "Emitted metrics"
jobs/newrelic_rpm.rb) you want to show on the dashboard and add corresponding HTML code. For example, the code below shows Newrelic Throughput (requests/minute) on the scale of 100. Adjust the scale based on your application usage.
Specify your app IDs (found in the New Relic URL of an application), and define the corresponding metrics in the .erb.