poolboy
This plugin monitors the pools managed by Poolboy. The plugin exposes health metrics about the pools, sends early wanring signs as notifications, and raises an alarm when a pool turns into a critical state.
Description
Section titled “Description”The plugin is based on Poolboy’s concepts. The status of a pool is a key property, which can be:
-
readyWhen the number of workers are less than or equal to the initialSizeparameter.Sizerefers to the pool size initially configured. -
overflowWhen the number of workers are greater than the poolSizebut less than theSize + MaxOverFlow.MaxOverflowrefers to the maximum number of workers created if pool is empty. -
fullWhen the number of workers are equal to theSize + MaxOverflow.
Applications it depends on
Section titled “Applications it depends on”poolboy
The plugin only works with version 1.x.
Modules
Section titled “Modules”wombat_plugin_poolboy.erl
Reports
Section titled “Reports”The plugin reports metrics, a notification, and an alarm.
Metrics
Section titled “Metrics”Each pool is depicted by the following two metrics, which are gauges:
-
Number of available workers for POOLThe number of workers can be checked out. Tags:dev. -
Percentage of running workers for POOLThe utilisation of the pool. Calculated as follows:RunningWorkerCount * 100 / Size. Tags:dev,op.
Notification
Section titled “Notification”Pool is overloaded When the workers launched initially got used and additional
workers have been launched. This happens when the pool transits into overflow
state, by leaving ready state.
An alarm is raised when a pool becomes full: all workers are used and no more
workers can be launched.
Please find the detailed alarm description in the Alarms documentation.
Configuration options
Section titled “Configuration options”None.
