When a job in Sidekiq fails, it goes into retry queue and it is retried for 25 times, as per https://github.com/mperham/sidekiq/wiki/Error-Handling#automatic-job-retry. So the question is, Is there any way to find whether the job that is currently getting executed, is running for first-time or it is the n'th retry of that job?
Note this job is running separately in a worker.
P.s: I'm new to sidekiq, workers and async jobs, so pardon if the question is not clear or an obvious one.