Documentation forPapertrail



Honeybadger allows custom data to be attached to an event via Honeybadger.context. Using this functionality, a link to related log data in Papertrail can be added to an error, providing a simple way of seeing what other activity was occurring around that time period.


Here's an example of how that might be implemented in a Rails before_filter call:

before_filter do
    :papertrail_url => "{}",

A timestamp based URL to Papertrail is included in Honeybadger.context, and whenever an error occurs, Honeybadger will display it in the UI.

Subsequent calls to context will merge the existing hash with any new data, so any other relevant information can be built up throughout the request’s life cycle. Honeybadger will discard the data when a request completes, so that the next request will start with a blank slate.

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.