Verk v1.0.0 Verk.QueueStats

This process will update an :ets table with the following information per queue

  • Current amount of running jobs
  • Amount of finished jobs
  • Amount of failed jobs

It will persist to redis from time to time

Link to this section Summary

Functions

Lists the queues and their stats searching for a prefix if provided

Invoked on :producer_consumer and :consumer stages to handle events

Requests to reset started counter for a queue

Link to this section Functions

Link to this function all(prefix \\ "")
all(binary) :: Map.t

Lists the queues and their stats searching for a prefix if provided

Link to this function handle_events(events, from, state)

Invoked on :producer_consumer and :consumer stages to handle events.

Must always be explicitly implemented by such types.

Return values are the same as c:handle_cast/2.

Callback implementation for GenStage.handle_events/3.

Link to this function reset_started(queue)
reset_started(binary) :: :ok

Requests to reset started counter for a queue