mosquito-cr / mosquito

A background task runner for crystal applications supporting periodic (CRON) and manually queued jobs
MIT License
227 stars 24 forks source link

Add a metric which counts jobs enqueued #155

Open robacarp opened 1 week ago

robacarp commented 1 week ago

Add a metric which tracks how many jobs have been enqueued in the last day/hour/minute.

Ideally, this should allow a visualizer to show that the rate of work being performed is greater than the rate of work being enqueued. This could also be exposed as a cluster health metric, to be used in auto-scaling fleets.