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.
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.
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 it before it causes downtime. You can set up threshold alerting for an app by enabling it in the Heroku dashboard.
Installing the HG Heroku Monitoring & Dashboards Add-on.
HG or HostedGraphite provides a complete infrastructure and application monitoring platform from a suite of open source monitoring tools. Depending on the setup, you can choose between Hosted Prometheus or Graphite and view all required metrics on beautiful Grafana dashboards in real-time. HostedGraphite offers a wide range of tools, add-ons, and plugins which 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.
Then download this json file, and import it into the dashboard. Your Heroku Monitoring Dashboard should load right away!
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