-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs for Java SDK Check-ins #7963
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
## Check-Ins (Recommended) | ||
|
||
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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add something like about the @SentryCheckin
Annotation. Not sure if it is clear to the reader by it just being referred to in the code sample.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked good, just a few small suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This content doesn't show up in the preview. I think you need to edit src/platforms/common/crons/troubleshooting.mdx to add Java to the first PlatformSection
src/platforms/java/common/configuration/integrations/quartz.mdx
Outdated
Show resolved
Hide resolved
src/platforms/java/common/configuration/integrations/quartz.mdx
Outdated
Show resolved
Hide resolved
src/platforms/java/common/configuration/integrations/quartz.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Shana Matthews <shana.l.matthews@gmail.com>
Docs for getsentry/sentry-java#2875
We support
Sentry.captureCheckIn
SentryJobListener
(happens automatically for Spring Boot) and having users provide a monitor slug trough the job data map@Scheduled
by having advice config for a new@SentryCheckIn
annotation which allows users to specify methods to send check-ins for and what monitor slug to use.Pre-merge checklist
If you work at Sentry, you're able to merge your own PR without review, but please don't unless there's a good reason.
Description of changes
Describe your changes here. If your PR relates to or resolves an issue, add a link to that too.
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
Extra resources