Book Image

Heroku Cloud Application Development

By : Anubhav Hanjura
Book Image

Heroku Cloud Application Development

By: Anubhav Hanjura

Overview of this book

Table of Contents (17 chapters)
Heroku Cloud Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using NewRelic to keep the dyno alive


NewRelic (www.newrelic.com) is a very popular web and mobile app monitoring service. It lets you monitor app up-time, down time, data stores, user behaviors, application performance, and more. It is also very easy to use on the Heroku platform. It supports virtually all web or mobile apps written in various programming languages such as Ruby and Java.

To set up an automated ping for your web app using NewRelic, follow the ensuing steps:

  1. Add NewRelic to your Heroku account. The NewRelic standard package can be added to your account as follows:

    $ heroku addons:add newrelic:standard
    
  2. Open the NewRelic interface as follows:

    $ heroku addons:open newrelic
    
  3. Go to the Reports tab and locate the Availability menu option.

  4. Add a URL to monitor and customize how often the check is made. Set the time to less than an hour to ping your web dyno frequently enough to keep it un-idled.