lightning icon indicating copy to clipboard operation
lightning copied to clipboard

Log oban errors on Sentry

Open jyeshe opened this issue 4 months ago • 0 comments

User story

As Lightning has this handler: :telemetry.attach_many("oban-errors", events, &Lightning.ObanManager.handle_event/4, nil)

this is an investigation issue to make sure that Oban emit all errors with telemetry.

It's specially important to track when RetryManyWorkOrdersJob fails all attempts. @stuartc maybe it would emit errors only on the last attempt? Or would need from the first attempt to follow each that failed?

User acceptance criteria

  1. Cron jobs emit errors
  2. Scheduled jobs emit errors on all queues.

jyeshe avatar Oct 02 '24 09:10 jyeshe