-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monitor worker job runtime #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! This is good addition to Sidekiq metrics! However, I found some problems with your implementation. Let's discuss.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rubocop and some error-generating typos should be fixed
* master: Migrate from Travis CI to GitHub Actions for tests and releases 0.7.0: Apply tags from `yabeda_tags` to all metrics inside a job Switch from current time to monotonic time for measuring job runtime Add basic specs Add Yabeda configuration instruction into README. Fixes yabeda-rb#10
@Envek, thanks for getting it done! Let's merge and roll it out to production 🚀 |
There is also alternative implementation in #17. @dsalahutdinov please take a look. |
Closed in favor of #17 |
Hi, useful metrics to keep track of the current running job runtime (see the "busy" section in the sidekiq admin panel).
This is monstly for alerting to determine time-consuming jobs with the following alert rule:
For example publication* job running more than 10 minutes: