Sidekiq: How can you enable the ability to see Failed jobs like you can inspect the "Dead" queue?

Created on 28 Jan 2015  Â·  7Comments  Â·  Source: mperham/sidekiq

Why is this not clickable?

sidekiq 2015-01-28 09-55-35

Other than process, it's literally the only link on the top bar that isn't clickable. Sometimes I want to see what jobs have failed without having to wait for them to appear in the dead queue or having them programmatically going there right away.

Most helpful comment

@mperham The behavior is correct, but still we should be able to know what was the reason for failure so that we can fix it and retry that worker right, meaning, just like retrying job, we can see the details, why can't we see details of failed jobs.

All 7 comments

Failed jobs are "retries" in Sidekiq. Don't disable retries.

We're currently only specifying retries = 0. Does this prevent it from going straight to the dead queue?

Jobs with retry = 0 should die and go to the morgue immediately if they fail.

@mperham The behavior is correct, but still we should be able to know what was the reason for failure so that we can fix it and retry that worker right, meaning, just like retrying job, we can see the details, why can't we see details of failed jobs.

You can see the error that caused a Dead job.

@mperham the issue is that when sidekiq_options retry:false, there is no way of knowing why some jobs failed. In my case i have over 80K jobs running in a hour at times. And so if a job fails it would be nice to come back and see the reasons as to why some specific job out of the 80K that failed. If this cant be added, alternative i will built some other notification mechanism anyways

The Error Handling wiki page discusses best practices and trade offs. I don’t have anything further to add unless you have specific questions.

On Aug 27, 2019, at 07:09, Acellam Guy notifications@github.com wrote:

@mperham the issue is that when sidekiq_options retry:false, there is no way of knowing why some jobs failed. In my case i have over 80K jobs running in a hour at times. And so if a job fails it would be nice to come back and see the reasons as to why some specific job out of the 80K that failed. If this cant be added, alternative i will built some other notification mechanism anyways

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smanolloff picture smanolloff  Â·  3Comments

homanchou picture homanchou  Â·  3Comments

mperham picture mperham  Â·  3Comments

sandstrom picture sandstrom  Â·  3Comments

bartimaeus picture bartimaeus  Â·  3Comments