Skip to content

feat(spring): Add an option to monitor all @Scheduled methods in Spring Boot 4 - #6277

Draft
wedamija wants to merge 4 commits into
danf/spring-monitor-scheduled-tasks-boot2from
danf/spring-monitor-scheduled-tasks-boot4
Draft

wedamija wants to merge 4 commits into
danf/spring-monitor-scheduled-tasks-boot2from
danf/spring-monitor-scheduled-tasks-boot4

Conversation

@wedamija

@wedamija wedamija commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

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.

Same change as #6275 for Spring Boot 4 (sentry-spring-7 and sentry-spring-boot-4): sentry.monitor-scheduled-tasks and sentry.exclude-scheduled-tasks, with the same code and tests.

Stacked on #6276.

wedamija and others added 2 commits October 16, 2026 18:01
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against aa3995d

@sentry

sentry Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.59.0 (1) release

⚙️ sentry-android Build Distribution Settings

@wedamija wedamija changed the title feat(spring): Monitor all @Scheduled methods in Spring Boot 4 feat(spring): Add an option to monitor all @Scheduled methods in Spring Boot 4 Oct 20, 2026
wedamija and others added 2 commits October 20, 2026 10:48
…asks

Same fix as the Spring Boot 3 copy.

Co-Authored-By: Claude <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant