-
Notifications
You must be signed in to change notification settings - Fork 0
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
- User Guide
- Installing Dashing
- Nginx with Passenger
- Puma
- Heroku
- Configuration
- Add Authentication
- Change default Dashboard
- Run on a different port, or in production
- Run Dashing on a sub path
- Update Font Awesome fonts from version 3 to 4
- Widgets
- Debug incoming widget data
- Additional Widgets
- Set up a graph
- Tips
- ...
- Installing Dashing
- Integrations
- Databases
- Define a data model and store history data to database
- Store and data to and display from database
- Send MySQL data to your widgets
- Other frameworks and libraries
- Django
- Monitoring
- Dashing
- CI
- Jenkins
- Issue Tracking
- JIRA
- Misc
- Update a dashboard using a spreadsheet
- Databases
- Development Instructions
- Building from source
- ...