getsentry / getsentry/sentry-java

Improve Upsert support for check-ins

Open
#2,963 0 comments 0 reactions 0 assignees View on GitHub
Checks Improvement Java
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

### Problem Statement

Upserts are currently only available when manually using `Sentry.captureCheckIn()`

### Solution Brainstorm

- A new param for `CheckInUtils.withCheckIn()`
- Check if there's a `@Scheduled` annotation on a task annotated with `@SentryCheckIn` and read schedule from there
- Read schedule from `Trigger` in quartz
- CRON expressions in quartz have a different syntax we'd need to support

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.