getsentry / getsentry/sentry-ruby

Sentry Cron MonitorCheckIns ability to skip and resume checkin process

Abierto
#2,753 9 comentarios 0 reacciones 1 asignado Reclamado por @sl0thentr0py Ver en GitHub
Checks Crons Feature Ruby
Lenguaje dominante
Ruby
Estrellas
987
Forks
541
Merge medio
17 h 40 min
PR fusionados (30 d)
19

Descripción

### Problem Statement

Hey!

This is very specific problem related to very frequent or jobs which split progress within runs e.g. pagination, cursor-based parameters for the same job.

Due to large volume Sentry starts rate-limiting and also since progress determined by job parameters it should not be so that check-in happens on each and every run.

References:
- https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/cron/monitor_check_ins.rb

### Solution Brainstorm

- Add `skip_sentry_check_in!` method to job class instance, without additional arguments
- Add `send_sentry_check_in!` method to job class instance, default to :ok checkin type (error should be attached to actual error? in_progress does not make sense to send in this case?)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.