-
Notifications
You must be signed in to change notification settings - Fork 324
How To: Use New Relic with Dashing
New Relic can regulary ping your Dashing installation and provide uptime and performance statistics. If you deploy to Heroku this can be handy because it will wake up your app and prevent it from sleeping after 1 hour (most of the time) and also report on when it goes off line for system maintenance etc.
Dashing is based on Sinatra so the following document provides some general information about this process: https://docs.newrelic.com/docs/agents/ruby-agent/frameworks/sinatra-support
To instrument your Dashing implementation with a New Relic Ruby agent:
-
Add: gem 'newrelic_rpm' to your $DASHING_HOME/Gemfile then run: bundle install
-
Edit $DASHING_HOME/config.ru and add: require 'newrelic_rpm'
-
Create $DASHING_HOME/config directory and add your downloaded newrelic.yml file
-
Edit the newrelic.yml file to add your app_name and any other settings
-
Restart Dashing and check for the newrelic_agent.log file. Enable Auditing to view what is being sent to New Relic.
Originally resolved up by https://github.com/bubbajoelouis at https://github.com/Shopify/dashing/issues/233
- Home
- Dashing Workshop
- Installation
- Widgets
- Configuration
- Security
- Troubleshooting
- Deploying dashboards
- How Tos
- How to: post data to your dashboard and widgets
- How to: Define a data model and store history data to database
- How to: Prevent a job from overlapping with itself
- How to: Send HTML data to your widgets
- How to: Send mysql data to your widgets
- How to: Setup a Graph
- How to: Store data to and display from database
- How to: Update a Dashboard using a spreadsheet
- How to: update dashboard in Django
- How to: Update font awesome fonts from version 3 to 4
- How to: Use New Relic with Dashing
- How to: precompile assets
- Development