getsentry / getsentry/sentry-ruby

sidekiq-ent periodic tasks support

Aperta
#2,401 0 commenti 2 reazioni 1 assegnatario Rivendicata da @sl0thentr0py Vedi su GitHub
Crons Feature Ruby sentry-sidekiq
Lingua principale
Ruby
Stelle
987
Fork
541
Merge medio
17h 40m
PR unite (30g)
19

Descrizione

[Cron monitoring](https://docs.sentry.io/platforms/ruby/crons/) has built-in support for sidekiq-cron and sidekiq-scheduler. It would be great if the built-in cron feature of Sidekiq was supported as well. It is limited to [sidekiq-ent](https://sidekiq.org/products/enterprise.html) (the paid version), but I imagine it's still popular enough to consider being included.

In our `sidekiq.rb` we have:

```
Sidekiq.configure_server do |config|
config.periodic do |mgr|
mgr.register("* * * * *", "TestJob") # every minute
end
end
```

It would be awesome if our `sentry.rb` could have:

```
Sentry.init do |config|
config.enabled_patches += [:sidekiq_ent_cron]
end
```

That way we don't have to manually implement check-ins.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.