Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,12 @@ config.delayed_job.report_after_job_retries = true
```
config.sidekiq.report_after_job_retries = true
```

`attempt_threshold`

`sentry-sidekiq` skips error reporting until a job reaches the given attempt. Set it in the job's `sidekiq_options`. The threshold is capped at the job's final attempt. Not set by default.

```ruby
# Report only the last of 5 attempts (1 initial execution + 4 retries)
sidekiq_options retry: 4, attempt_threshold: 5
```
Loading