Closed
Description
Describe the idea
I'd love if Sidekiq could report only on the first retry.
Why do you think it's beneficial to most of the users
If retries are errors in application code or longer outages of third-party dependencies, capturing a series of the same errors isn't useful.
Possible implementation
A config.sidekiq.report_on_retries
boolean configuration option could be checked in Sentry::Sidekiq::ErrorHandler
. In that class, the .call
method could return if config.sidekiq.report_on_retries
is false and retry_count
is present in the job context.
Metadata
Metadata
Assignees
Labels
No labels