Today I Learned

Find error in Rollbar by Sidekiq job id

It is on many occasions hard to find a matching error on Rollbar for particular job that failed in Sidekiq. Fortunately, we can find it very effectively by the job id (JID), or many other attributes that are not picked by UI based search.

First, open the RQL console

https://rollbar.com/{organization_name_here}/{project_name_here}/rql (just click RQL in top navigation bar)

Then, enter following query into the Query field, i.e.

SELECT *
FROM item_occurrence
WHERE `request.params.jid`="ea336956c5a33327f2dfe399"
LIMIT 1

Clicking Execute will bring up a list of items matching the query - just click view next to one that interests you the most to see data you were looking for (searching by JID will produce just one result anyway).