getsentry / getsentry/sentry-java

Improve Upsert support for check-ins

Aberta
#2,963 0 comentários 0 reações 0 responsáveis Ver no GitHub
Checks Improvement Java
Linguagem predominante
Kotlin
Estrelas
1.4k
Forks
478
Merge médio
2d 22h
PRs com merge (30d)
69

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
java, kotlin
Domínio
developer-experience
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.