Skip to content

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

Draft
wedamija wants to merge 4 commits into
danf/spring-monitor-scheduled-tasksfrom
danf/spring-monitor-scheduled-tasks-boot2
Draft

wedamija wants to merge 4 commits into
danf/spring-monitor-scheduled-tasksfrom
danf/spring-monitor-scheduled-tasks-boot2

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 2 (sentry-spring and sentry-spring-boot): sentry.monitor-scheduled-tasks and sentry.exclude-scheduled-tasks, with the same code and tests.

Stacked on #6275.

wedamija and others added 2 commits October 16, 2026 17:59
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 6261137

@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 2 feat(spring): Add an option to monitor all @Scheduled methods in Spring Boot 2 Oct 20, 2026
wedamija and others added 2 commits October 20, 2026 10:46
Same fix as the Spring Boot 3 copy.

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

linear-code Bot commented Oct 21, 2026

Copy link
Copy Markdown

JAVA-789

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