From 16312f46c3789487b20d35cfec7e892901166d89 Mon Sep 17 00:00:00 2001 From: Dan Fuller Date: Mon, 19 Oct 2026 16:18:11 -0700 Subject: [PATCH 1/2] docs(crons): Add resque-scheduler setup for Ruby Co-Authored-By: Claude --- platform-includes/crons/setup/ruby.mdx | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/platform-includes/crons/setup/ruby.mdx b/platform-includes/crons/setup/ruby.mdx index 86d4ab3bb65b3..99bfd0cfb700f 100644 --- a/platform-includes/crons/setup/ruby.mdx +++ b/platform-includes/crons/setup/ruby.mdx @@ -137,6 +137,45 @@ Sentry.init do |config| end ``` +### resque-scheduler + + + +The resque-scheduler integration ships in the next release of `sentry-resque`. + + + +If you're using `resque-scheduler`, enable the `:resque_scheduler` patch to capture check-ins for every `cron` and `every` schedule, including dynamic schedules: + +```rb +Sentry.init do |config| + config.enabled_patches += [:resque_scheduler] +end +``` + +```yaml {filename:config/resque_schedule.yml} +nightly_report: + cron: "0 2 * * * America/New_York" + class: ReportJob + args: nightly +sync_accounts: + every: 10m + class: SyncAccountsJob +``` + +The monitor slug is the schedule name, so this example creates two monitors: `nightly_report` and `sync_accounts`. Each schedule gets its own monitor, even when schedules share a job class. + +Sentry creates and updates each monitor from the schedule and its time zone. Schedules that can't be expressed in the Crons schedule format, such as a job that runs every 10 seconds, still send check-ins, but without a monitor config. Create those monitors in Sentry first, using the same slug. + +To skip schedules, list their names in `config.resque.exclude_scheduled_jobs`. Strings match a schedule name exactly, and regular expressions are matched against it: + +```rb +Sentry.init do |config| + config.enabled_patches += [:resque_scheduler] + config.resque.exclude_scheduled_jobs = ["clear_cache", /^tmp_/] +end +``` + ## Manual Setup If you're using `Clockwork` or `Whenever`, you'll need to instrument your jobs From f3eb97b971f75c04e3017bfde9042e68d57eba96 Mon Sep 17 00:00:00 2001 From: Dan Fuller Date: Wed, 21 Oct 2026 09:03:56 -0700 Subject: [PATCH 2/2] chore: Retrigger Vercel deploy Co-Authored-By: Claude