Airbrake power-tools to sort by frequency, search, and backtrace analytics

We use airbrake.io to track errors in production, ideally we should clean all errors that happen, but most of the remaining ones are things that just happen from time to time (timeout / disconnect / customer entered invalid url etc). If you want to see something in this sea of noise, you need better tools than the Airbrake dashboard, which just shows errors by last occurrence.

That’s why we built: Airbrake-Tools

Sort by frequency

airbrake-tools your-account your-auth-token hot
#1     793.5/hour   2170:total
 --> id: 51344729 -- first: 2012-06-25 15:47:11 UTC -- Mysql2::Error -- Mysql2::Error: Lost connection to MySQL server at 'reading initial communication packet', system error: 110
#2     595.6/hour    648:total
 --> id: 53991244 -- first: 2012-12-13 20:31:26 UTC -- ActiveRecord::RecordInvalid -- ActiveRecord::RecordInvalid: Validation failed: Requester is suspended.
#3     458.0/hour 191840:total
 --> id: 53864752 -- first: 2012-12-06 19:57:12 UTC -- SyntaxError -- [retrying processing mail at 782bcb63887c.eml] SyntaxError: unterminated quoted-word
#4     315.3/hour   5184:total
 --> id: 52897649 -- first: 2012-10-14 02:10:41 UTC -- Http::ClientError -- [The server responded with status 500]
airbrake-tools your-account your-auth-token list | grep 'is suspended'
Page 1 ----------
54054554 -- ActiveRecord::RecordInvalid -- ActiveRecord::RecordInvalid: Validation failed: Requester is suspended.
Page 2 ----------
...

Backtrace analytics

  • show details for 1 error (combines 150 notices)
  • show all different traces that caused this error (play with –compare-depth)
airbrake-tools your-account your-auth-token summary 51344729
last retrieved notice: 1 hours ago at 2012-12-19 22:43:20 UTC
last 2 hours:
last day: 
Trace 1: occurred 100 times e.g. 7145616660, 7145614849
Mysql2::Error: Lost connection to MySQL server at 'reading initial communication packet', system error
./mysql2/lib/mysql2/client.rb:44:in `connect'
...

Trace 2: occurred 10 times e.g. 7145613107, 7145612108
Mysql2::Error: Lost connection to MySQL server
./mysql2/lib/mysql2/client.rb:58:in `disconnect'
...

Trace 3: occurred 5 times e.g. 7145609979, 7145609161
Mysql2::Error: Lost connection to MySQL server during reconnect
./mysql2/lib/mysql2/client.rb:78:in `reconnect'
...

Give them a try :)


comments powered by Disqus