Verk v1.1.1 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

It also holds information about the current status of queus. They can be:

  • running
  • idle
  • pausing
  • paused

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

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.