getsentry / getsentry/sentry-ruby

sidekiq-ent periodic tasks support

未关闭
#2,401 0 条评论 2 个 reaction 已指派 1 人 已被 @sl0thentr0py 认领 在 GitHub 查看
Crons Feature Ruby sentry-sidekiq
主要语言
Ruby
星标
987
派生
541
平均合并
17 小时 40 分钟
30 天内合并 PR
19

描述

[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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。