Skip to content

Suppress notifications on Sidekiq retries #1570

Closed
@jpcody

Description

@jpcody

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions