lightning
lightning copied to clipboard
Log oban errors on Sentry
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
- Cron jobs emit errors
- Scheduled jobs emit errors on all queues.