Repository navigation
feat: add Sentry.Quartz3 for cron monitoring of Quartz.NET 3.x jobs - #5668
Merged
Merged
Conversation
1 of 3 tasks
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5668 +/- ##
==========================================
- Coverage 76.32% 76.32% -0.01%
==========================================
Files 528 530 +2
Lines 19514 19551 +37
Branches 3808 3819 +11
==========================================
+ Hits 14894 14922 +28
- Misses 3742 3749 +7
- Partials 878 880 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
wedamija
force-pushed
the
danf/quartz-crons
branch
from
October 6, 2026 02:03
6128fc0 to
91bd0d1
Compare
… dependencies and streamlining SentryCronJobListener options handling
…and update Quartz integration
… collection parameter and streamlining option configuration
…dSentryScope method, update SentryMetricsMiddleware to support configurable options
This was referenced Nov 20, 2026
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.
Changelog Entry
Sentry.Quartz3, an integration for Quartz.NET 3.x (3.6 and later) on .NET Framework 4.6.2+ and .NET 8+services.AddQuartz(q => q.AddJobListener<SentryJobListener>())orscheduler.ListenerManager.AddJobListener(new SentryJobListener())[SentryMonitorSlug]send a Sentry Crons check-in for every run, with the trigger's cron or interval schedule as the monitor config, so monitors are created and kept up to date automaticallySentry.Quartzthis doesn't run each job in its own scope or capture the exceptions jobs throwDescription
Part of a series adding automatic Crons monitoring for the most-used job schedulers in each SDK. Check-ins for a monitor that doesn't exist yet are dropped, so today each monitor has to be created by hand with its schedule copied from the code. Sending the job's schedule as the monitor config lets Sentry create the monitor and keep it in sync.
Adds
Sentry.Quartz3, the Quartz.NET 3.x version ofSentry.Quartz. Quartz 4 only targets net10.0, so apps on .NET Framework or older .NET stay on Quartz 3. It builds the shared core files against Quartz[3.6.0,4.0.0)for net8.0 to net10.0 and net462, and runs them from anIJobListenerbecause Quartz 3 has no job middleware.As in
Sentry.Quartz, jobs with[SentryMonitorSlug]send check-ins with their trigger's schedule unlessSendMonitorConfigis off. A listener can't wrap the job, so there is no per-job scope or exception capture. Under Quartz 4 the listener would never be called, so it logs an error pointing toSentry.Quartz.Craft creates the release-registry entry on the first release, from the
nuget:Sentry.Quartz3entry added to.craft.yml.Stacked on #5505 by @michaelmairegger, which is still open. The base branch
danf/quartz-5505-rebasedis a copy of its branch.Docs: getsentry/sentry-docs#19790
Closes #3150