appsignal

New Features: Heroku Errors and a Magic Dashboard

Robert Beekman

Robert Beekman on

New Features: Heroku Errors and a Magic Dashboard

We have been collecting Logplex data for our Heroku customers for a while now. With that data we create Magic Dashboards for Postgres and Redis integrations, and track Heroku Host Metrics.

Starting today, we also extract error incidents from Heroku Logplex data and provide you with a magic dashboard for Heroku status codes.

Heroku Errors

With the latest update to our Logplex parser, we can now extract Heroku errors from the data stream. We add a "heroku" namespace in AppSignal, where we capture errors such as "H12: Request timeout", "H14: No web dynos running," and many other error codes, complete with samples like any other error.

Screenshot of AppSignal errors page with a Heroku error

These errors can help you debug issues that might otherwise not be captured, such as the timeout error and no dyno's running error. The AppSignal agent requires a running (Ruby/Elixir/Node.js) process to catch errors, and with these Logplex errors, we can capture the last missing errors in your Heroku stack.

Installation

To capture these errors, we need access to your Heroku logs. To do this, add a Heroku Logdrain as described in our Heroku Logdrain documentation.

A logdrain is easily added by using the Heroku CLI and running the following command in your application directory:

Shell
heroku drains:add "https://appsignal-endpoint.net/logplex?api_key=<push_api_key>&name=<app_name>&environment=<app_environment>"

Replace the placeholders with your AppSignal Push API key, app name, and environment. You can find these values on the "Push & Deploy" page on AppSignal.

Errors are captured automatically after adding the logdrain.

A Magic Dashboard with Heroku Status Codes

Together with these errors, we'll also add a new Magic Dashboard to your app that tracks the overall response counts for each HTTP status code group (2xx, 3xx, 4xx, 5xx). This gives an overview of the overall response rates of your Heroku application. These metrics also allow you to set up Anomaly Detection triggers on the response codes to track any anomaly on Heroku.

Screenshot of an AppSignal magic dashboard showing Heroku status codes

Thanking Our Customers

We want to thank our customers who have contacted the support team for suggesting these features! If you would like to see something not already available on AppSignal, don't hesitate to reach out, we'd love to hear from you!

If you are not using AppSignal yet, maybe this encourages you to try us out and experience our developer-to-developer support.

Robert Beekman

Robert Beekman

As a co-founder, Robert wrote our very first commit. He's also our support role-model and knows all about the tiny details in code. Travels and photographs (at the same time).

All articles by Robert Beekman

Become our next author!

Find out more

AppSignal monitors your apps

AppSignal provides insights for Ruby, Rails, Elixir, Phoenix, Node.js, Express and many other frameworks and libraries. We are located in beautiful Amsterdam. We love stroopwafels. If you do too, let us know. We might send you some!

Discover AppSignal
AppSignal monitors your apps