getsentry / getsentry/sentry-java

Improve Upsert support for check-ins

未關閉
#2,963 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Checks Improvement Java
主要語言
Kotlin
星號
1.4k
分支
478
平均合併
3 天 4 小時
30 天內合併 PR
72

描述

### 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

貢獻指南

開啟貢獻指南

研究方向

Start by reading CheckInUtils.withCheckIn() and the existing Sentry.captureCheckIn() path to understand current upsert handling. Compare the @SentryCheckIn, @Scheduled, and Quartz Trigger entry points, then define how supported schedules and CRON syntax should be handled; done means scheduled check-ins can use upserts consistently.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, kotlin
領域
developer-experience
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。