Oban

The Oban integration supports:

  • Capturing errors and exceptions that happen in Oban jobs.
  • Cron monitoring for scheduled Oban jobs.

This integration is built into the Sentry SDK.

You can configure the Oban integration in your Sentry configuration, under the :integrations key:

config/config.exs
Copied

config :sentry,
  # ...,
  integrations: [
    oban: [
      # Capture errors:
      capture_errors: true,
      # Monitor cron jobs:
      cron: [enabled: true]
    ]
  ]
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").