good_job
good_job copied to clipboard
Options to monitor good_job in production?
Hello,
First, thanks for sharing this nice project, it looks awesome!
We are currently considering a switch from Sidekiq to Goodjob (essentially for the durability gaurantees that it offers compared to Sidekiq).
However I coudn't find anything related to observability/monitoring for good_job. Today, Prometheus/OpenTelemetry is becoming a de-facto standard for monitoring. With Sidekiq, we currently use the Sidekiq Prometheus Exporter. This allows monitoring queue depth, queue latency and so forth and get paged/alerted in case some value goes above a certain threshold.
Is there anything similar that exists with good-job? (I coudn't find anything). If not, how do people typically monitor a good_job deployment in production?
Cheers, Gregory
There are job monitoring tools such as Cronitor one can use.
They have an integration for Sidekiq, but currently no ready-made plugin for GoodJob. They do have a Ruby SDK though, so integration Good Job with them shouldn't be too difficult.
I think this is an area where GoodJob could provide an interface to access metrics, but shouldn't be too concerned with exactly how it's being monitored.
The actual monitoring should be delegated to other tools that does it well (instead of building too much functionality into GoodJob).
seems duplicate with https://github.com/bensheldon/good_job/issues/532