Skip to content

Add ActionCable worker pool metrics

What does this MR do?

Follow-up for #217314 (closed)

This MR adds several new Prometheus metrics related to ActionCable, evolving around AC's internal thread pool:

Metric Type Description
action_cable_pool_min_size Gauge Minimum number of worker threads in ActionCable thread pool
action_cable_pool_max_size Gauge Maximum number of worker threads in ActionCable thread pool
action_cable_pool_current_size Gauge Current number of worker threads in ActionCable thread pool
action_cable_pool_largest_size Gauge Largest number of worker threads observed so far in ActionCable thread pool
action_cable_pool_pending_tasks Gauge Number of tasks waiting to be executed in ActionCable thread pool
action_cable_pool_tasks_total Gauge Total number of tasks executed by ActionCable thread pool

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Tested in Omnibus as well.

Edited by Matthias Käppler

Merge request reports