1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib/sidekiq
Mike Perham f220897db9
Per-job execution metrics (#5384)
* New execution stats data format, #5283

We store time and counts per-queue, per-class and totals, daily.

* break metrics into separate jobs and queues hashes

* tweak

* Move metrics tracking to middleware, start work on Query API

* Add support for labeled points in time

* Add fetch method for deploy marks

* rejigger metrics file layout

* fix tests

* Remove per-queue metrics, adds a lot of complexity with little value IMO

* store per-minute histograms

* Keep basic stats hardwired as is

The idea being that metrics are optional middleware as they have significantly more overhead in CPU time and Redis space.

* Implement top N metrics dashboard

* Add topN and job-specific metric pages

* Supply histogram data to job metrics page

* cant use local time as CI is in a different tz

* Add basic metrics graph, refactor dashboard JS to make Rickshaw reuseable

* prepare for public beta
2022-07-28 12:21:42 -07:00
..
extensions Always use String keys with setter hash, fixes #5192 2022-02-09 08:42:18 -08:00
metrics Per-job execution metrics (#5384) 2022-07-28 12:21:42 -07:00
middleware better yard for middleware 2022-07-12 13:15:10 -07:00
testing Remove "worker" from codebase where possible 2022-03-03 12:37:25 -08:00
web Per-job execution metrics (#5384) 2022-07-28 12:21:42 -07:00
api.rb Per-job execution metrics (#5384) 2022-07-28 12:21:42 -07:00
cli.rb Per-job execution metrics (#5384) 2022-07-28 12:21:42 -07:00
client.rb redis-client: Fix ZADD compatibility (#5387) 2022-06-13 06:27:57 -07:00
component.rb Per-job execution metrics (#5384) 2022-07-28 12:21:42 -07:00
delay.rb Add a bit of documentation, install yard 2022-06-08 12:26:06 -07:00
fetch.rb Add a bit of documentation, install yard 2022-06-08 12:26:06 -07:00
job.rb Pull in Sidekiq::Job by default 2021-09-08 15:42:22 -07:00
job_logger.rb Tweak job logger to reduce overhead, 3-4% speedup 2022-01-26 16:57:43 -08:00
job_retry.rb Enable sidekiq_retry_in to signal :kill or :discard dynamically, fixes #5406 (#5432) 2022-07-14 15:56:58 -07:00
job_util.rb Prepare for upcoming Sidekiq::Config redesign (#5340) 2022-05-31 13:37:31 -07:00
launcher.rb Per-job execution metrics (#5384) 2022-07-28 12:21:42 -07:00
logger.rb Fix unsafe add 2022-04-21 10:39:13 -07:00
manager.rb Prepare for upcoming Sidekiq::Config redesign (#5340) 2022-05-31 13:37:31 -07:00
monitor.rb Exit sidekiqmon with non-zero exit code if an error occurs (#5196) 2022-02-15 07:05:07 -08:00
paginator.rb Add a compatibility layer for redis-client (#5298) 2022-05-10 12:25:04 -07:00
processor.rb remove jobstr from the exception context, it adds a lot of noise to the log output and is redundant with :job 2022-07-14 15:56:22 -07:00
rails.rb Prepare for upcoming Sidekiq::Config redesign (#5340) 2022-05-31 13:37:31 -07:00
redis_client_adapter.rb Refactor redis client adapter to be standalone and remove unnecessary namespacing 2022-05-10 12:52:43 -07:00
redis_connection.rb Prepare for upcoming Sidekiq::Config redesign (#5340) 2022-05-31 13:37:31 -07:00
ring_buffer.rb Prepare for upcoming Sidekiq::Config redesign (#5340) 2022-05-31 13:37:31 -07:00
scheduled.rb Prepare for upcoming Sidekiq::Config redesign (#5340) 2022-05-31 13:37:31 -07:00
sd_notify.rb (docs) YARD annotations (#4563) 2020-05-13 07:10:51 -07:00
systemd.rb Rework systemd integration so it does not activate when run in other binaries, like sidekiqswarm or a custom Sidekiq launcher, #4511 2020-03-26 13:07:45 -07:00
testing.rb Fix drain_all infinite loop after clearing worker with symbolized queue (#5352) 2022-05-31 08:33:36 -07:00
transaction_aware_client.rb A bit more polish for the API, #5291 2022-05-06 13:52:38 -07:00
version.rb bump 2022-07-12 14:25:52 -07:00
web.rb Per-job execution metrics (#5384) 2022-07-28 12:21:42 -07:00
worker.rb Add transaction-aware client (#5291) 2022-05-06 10:10:36 -07:00