Simple Dashing widget (and associated job) to display recent or frequent Honeybadger errors.
Created at Homefinder.com
Check out other widgets we've made at https://github.com/Homefinder/dashing-widgets
##Usage
To use this widget, copy honeybadger.html
, honeybadger.coffee
, and honeybadger.scss
into the /widgets/honeybadger
directory. Put the honeybadger.rb
file in your /jobs
folder. Copy hb.png
into the /assets/images
directory.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="2" data-col="3" data-sizex="2" data-sizey="1">
<div data-id="most_freq_fault" data-view="Honeybadger" data-title="Most Frequent Errors" ></div>
</li>
<li data-row="2" data-col="5" data-sizex="2" data-sizey="1">
<div data-id="most_recent_fault" data-view="Honeybadger" data-title="Most Recent Errors"></div>
</li>
##Settings Set your Honeybadger API token, and set the project_id of your Honeybadger project in 'honeybadger.rb'. Project ID can be found in https://api.honeybadger.io/v1/projects?auth_token=API_KEY .