roger v2.1.0 Roger.Info View Source

Get information about the current partitions, queues and jobs of the entire cluster.

Most of the functions here are mirrored from Roger.NodeInfo but calls these function for each node through Roger.System.call/2.

Link to this section Summary

Functions

Retrieve combined partition info on all running and waiting partitions, over the entire cluster

Retrieve queued jobs for the given partition and queue

Retrieve all jobs that are currently running on the cluster

Retrieve all running jobs for the given partition on the cluster

Retrieve all partitions that are currently started on all nodes in the cluster

Retrieve all partitions that are currently waiting for start

Link to this section Functions

Retrieve combined partition info on all running and waiting partitions, over the entire cluster.

Link to this function queued_jobs(partition_id, queue_type, count \\ 100) View Source

Retrieve queued jobs for the given partition and queue.

This basically does a basic.get AMQP command on the queue and requeues the message using a nack.

Retrieve all jobs that are currently running on the cluster.

Link to this function running_jobs(partition_id) View Source

Retrieve all running jobs for the given partition on the cluster.

Retrieve all partitions that are currently started on all nodes in the cluster.

Retrieve all partitions that are currently waiting for start.