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/web
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
..
action.rb Add private to Sidekiq Web UI Cache-Control to prevent request collapsing (#4967) 2021-08-14 09:46:15 -07:00
application.rb Per-job execution metrics (#5384) 2022-07-28 12:21:42 -07:00
csrf_protection.rb Use Base64.urlsafe_* like Rake::Protection::AuthenticityToken 2022-04-02 19:47:26 +02:00
helpers.rb fix broken tests 2022-07-14 16:05:25 -07:00
router.rb Improve Web UI session experience (#4804) 2021-02-12 14:50:51 -08:00