Heroku Real-time Monitoring

Table of Contents

  1. Logging tools
  2. Error monitoring tools. 
  3. Real-time Monitoring Tools
  4. Installing the HG Heroku Monitoring & Dashboards Add-on. 

Heroku offers many monitoring tools that include, but are not limited to:

  • Logging tools - collecting and storing your Heroku app and database logs.
  • Error monitoring tools - capturing exceptions and errors thrown by your app.
  • Real-time Monitoring tools - showing metrics on app performance
  • Bonus tip: Installing the HG Heroku Monitoring Add-on

Logging tools

Logging can provide you with up-to-date data on various metrics of your apps and databases. Database monitoring plays a crucial role in the success of a product. Curious readers can check out this article on Monitoring MongoDB Performance posted on MetricFire’s Blog.

A screenshot of various logging management tools

Error monitoring tools. 

Once you have a logging add-on, it is a good idea to install an error monitoring tool. Error monitoring tools capture exceptions or errors thrown by your app, whether they originate from your code, dependencies, or a framework. 

A screenshot of various Errors and Exceptions management tools

Real-time Monitoring Tools

Now when it comes to real-time monitoring, Heroku threshold alerting is a must-have in your monitoring portfolio. It provides you lightning-fast notice of performance issues, so you can resolve them before they cause downtime. You can set up threshold alerting for an app by enabling it in the Heroku dashboard.

A screenshot of Heroku's monitoring dashboard

Installing the HG Heroku Monitoring & Dashboards Add-on. 

A screenshot of Hosted Graphite's auto generated Heroku Dashboard

HG or Hosted Graphite provides a complete infrastructure and application monitoring platform from a suite of open-source monitoring tools. Using Hosted Graphite you can view all required metrics on beautiful Grafana dashboards in real-time. Hosted Graphite offers a wide range of tools, add-ons, and plugins that make it possible to measure, analyze, and visualize large amounts of data about your applications with ease. 

Install the HG Heroku Monitoring & Dashboards add-on in your Heroku App and once inside the platform add-on head to Dashboards and select Import dashboard. 

A screenshot Hosted Graphite's main page with an arrow pointing to Grafana in the Dashboards tab on the side navbar
A screenshot of Grafana with an arrow pointing to the import feature in the Create tab on the side navbar

Then download this json file, and import it into the dashboard. Your Heroku Monitoring Dashboard should load right away!

A screenshot of Grafana's import page with an arrow pointing 'Upload .json file'
A screenshot of a Heroku dashboard after a json file has been imported to Grafana

If you want to learn more about how to use this add-on with your Heroku app  book a demo with one of our engineers 

Hungry for more knowledge?

Related posts