mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
355cc3f604
* Create more indicative helpers for stats * Update example for Stats API
19 lines
528 B
Text
Executable file
19 lines
528 B
Text
Executable file
ul.unstyled.summary
|
|
li
|
|
span.count #{number_with_delimiter(stats.processed)}
|
|
span.desc Processed
|
|
li
|
|
span.count #{number_with_delimiter(stats.failed)}
|
|
span.desc Failed
|
|
li
|
|
span.count #{number_with_delimiter(workers.size)}
|
|
span.desc Busy
|
|
li
|
|
span.count #{number_with_delimiter(scheduled_job_count)}
|
|
span.desc Scheduled
|
|
li
|
|
span.count #{number_with_delimiter(retry_job_count)}
|
|
span.desc Retries
|
|
li
|
|
span.count #{number_with_delimiter(stats.enqueued)}
|
|
span.desc Enqueued
|