Repository navigation
docs(crons): Add rufus-scheduler setup for Ruby - #19789
Merged
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
The SDK now converts `L` and `#` cron fields, so they no longer belong in the list of schedules sent without a monitor config. Co-Authored-By: Claude <noreply@anthropic.com>
wedamija
marked this pull request as ready for review
October 16, 2026 23:59
Contributor
|
Services awaiting deployment · Rollout details Warning Rollouts can't watch this change after it deploys: every data source for this team needs to be signed in again, so a check has no telemetry to read. Sign in to your data sources, or ask a team admin to.
Mention |
wedamija
added a commit
to getsentry/sentry-ruby
that referenced
this pull request
Oct 21, 2026
Part of a series that sends Crons monitor configs from Ruby schedulers. Check-ins for a monitor that does not exist yet are dropped, so today every monitor has to be created by hand with its schedule copied from the code. Sending the schedule lets Sentry create the monitor and keep it in sync. This adds an opt-in patch for rufus-scheduler: ```ruby config.enabled_patches << :rufus_scheduler ``` `cron` and `every` jobs send in-progress and ok/error check-ins, with the job's schedule as the monitor config. - The slug is the job's `name:`, or the handler's class or method. Unnamed blocks aren't monitored, and `sentry_monitor: false` opts a job out. - `interval` jobs and schedules Sentry can't represent check in without a config. One-off `in` and `at` jobs aren't monitored. - Errors still reach rufus's `on_error`. Stacked on #3141. The lockfile changes only add `rufus-scheduler` as a dev dependency. Docs: getsentry/sentry-docs#19789
wedamija
marked this pull request as draft
October 23, 2026 21:12
sl0thentr0py
previously requested changes
Oct 28, 2026
wedamija
marked this pull request as ready for review
October 29, 2026 18:26
Contributor
|
Please update the IS YOUR CHANGE URGENT? section of the PR description:
This information helps the Docs team prioritize your review. |
dingsdax
approved these changes
Nov 4, 2026
dingsdax
approved these changes
Nov 4, 2026
Adds a Solid Queue section to the Ruby Crons setup page: how to enable the `:solid_queue_recurring` patch, how slugs come from task keys, which schedules get a monitor config, and an example `config/recurring.yml`. The integration ships in the next sentry-ruby release. SDK PR: getsentry/sentry-ruby#3140 Stacked on #19789 --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Johannes Daxböck <johannes.daxboeck@sentry.io>
dingsdax
approved these changes
Nov 5, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a rufus-scheduler section to the Ruby Crons setup page: how to enable the
:rufus_schedulerpatch, how slugs are picked, which jobs get a monitor config, and how to skip a job.The integration ships in the next
sentry-rubyrelease.SDK PR: getsentry/sentry-ruby#3110