View Source Sentry.Integrations.Oban.Cron behaviour (Sentry v10.9.0)

This module provides built-in integration for cron jobs managed by Oban.

Summary

Callbacks

The Oban integration calls this callback (if present) to customize the configuration options for the check-in.

Callbacks

Link to this callback

sentry_check_in_configuration(oban_job)

View Source (since 10.9.0)
@callback sentry_check_in_configuration(oban_job :: struct()) ::
  options_to_merge :: keyword()

The Oban integration calls this callback (if present) to customize the configuration options for the check-in.

This function must return options compatible with the ones passed to Sentry.CheckIn.new/1.

Options returned by this function overwrite any option inferred by the specific integration for the check in. We perform deep merging of nested keyword options.