add Sidekiq monitoring for Datadog and Honeybadger (#5270)
This commit is contained in:
parent
9973d5a7fc
commit
45b156be86
2 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ Datadog.configure do |c|
|
|||
c.tracer partial_flush: true
|
||||
c.tracer priority_sampling: true
|
||||
c.use :delayed_job
|
||||
c.use :sidekiq
|
||||
c.use :redis
|
||||
c.use :rails
|
||||
c.use :http
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ Honeybadger.configure do |config|
|
|||
]
|
||||
config.request.filter_keys += %w[authorization]
|
||||
config.delayed_job.attempt_threshold = 10
|
||||
config.sidekiq.attempt_threshold = 10
|
||||
|
||||
config.before_notify do |notice|
|
||||
notice.fingerprint = if notice.error_message&.include?("SIGTERM") && notice.component&.include?("fetch_all_rss")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue