getsentry / getsentry/sentry-ruby

sidekiq-ent periodic tasks support

Open
#2,401 0 comments 2 reactions 1 assignee Claimed by @sl0thentr0py View on GitHub
Crons Feature Ruby sentry-sidekiq
Dominant language
Ruby
Stars
987
Forks
541
Avg merge
17h 40m
Merged PRs (30d)
19

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.