yii-resque icon indicating copy to clipboard operation
yii-resque copied to clipboard

Metriks

Open ignatenkovnikita opened this issue 8 years ago • 1 comments

Hello

How i get metriks queue? number of run? number of delayed?

getQueues return free timestamp( getDelayedJobsCount return number 3(

ignatenkovnikita avatar Dec 27 '16 23:12 ignatenkovnikita

@ignatenkovnikita This is only my quick fix and didn't test it either (I'm so sorry for this), basically I added one function to call Resque class function so you can directly access all Resque function.

  • To get number of pending job you can use size function.
  • To get all known queues you can use queues

Hope that helped :)

rolies106 avatar Jan 12 '17 04:01 rolies106