Skip to content

Commit beee511

Browse files
docs(crons): Add AspectJ dependency requirement for Spring Boot @SentryCheckIn annotation (#15698)
1 parent 8b9c247 commit beee511

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

platform-includes/crons/setup/java.spring-boot.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
If you are using [Quartz](http://www.quartz-scheduler.org/), please see <PlatformLink to="/integrations/quartz/">our Quartz integration</PlatformLink>. You may also [send check-ins manually](/platforms/java/crons/).
22

3+
<Alert level="info">
4+
5+
The `@SentryCheckIn` annotation requires `org.aspectj:aspectjweaver` to be present as a dependency in your project.
6+
7+
</Alert>
8+
39
## Check-Ins (Recommended)
410

511
Check-in monitoring allows you to track a job's progress by completing two check-ins: one at the start of your job and another at the end of your job. This two-step process allows Sentry to notify you if your job didn't start when expected (missed) or if it exceeded its maximum runtime (failed). To start sending check-ins simply add the `@SentryCheckIn("<monitor-slug>")` annotation to the method you want to send check-ins for.

0 commit comments

Comments
 (0)