TaskBunny v0.0.1-dev.6 TaskBunny.Status

Modules that handles TaskBunny status.

Summary

Types

t()

The Worker status contains the follow fields:

  • version, the current status version.
  • up, whether the TaskBunny.Supervisor is running.
  • connected, whether a connection to RabbitMQ has been made.
  • workers, list of worker statusses

Types

t()
t() :: %TaskBunny.Status{connected: boolean, up: boolean, version: String.t, workers: [TaskBunny.Status.Worker.t]}

The Worker status contains the follow fields:

  • version, the current status version.
  • up, whether the TaskBunny.Supervisor is running.
  • connected, whether a connection to RabbitMQ has been made.
  • workers, list of worker statusses.

Functions

metrics(supervisor \\ TaskBunny.Supervisor)
metrics(atom) :: keyword

Returns TaskBunny metrics.

overview(supervisor \\ TaskBunny.Supervisor)
overview(atom) :: TaskBunny.Status.t

Returns TaskBunny status.

page(supervisor \\ TaskBunny.Supervisor)
page(atom) :: map

Returns TaskBunny :wobserver page.