Skip to content

stats.puma

View Markdown

A periodic Puma stats snapshot. Cluster mode records one event per worker. Single mode records one event per cycle. Fields come directly from Puma.stats.

Source Puma Category Metrics Fields 10 honeybadger-ruby

Fields

10
FieldTypeDescription
event_typestringAllowed value: stats.puma.
workerintegerWorker index in cluster mode. Absent in single mode.
pool_capacityintegerNumber of threads available to pick up new requests.
max_threadsintegerMaximum number of threads configured for this worker.
requests_countintegerTotal requests processed by this worker since start.
backlogintegerNumber of connections waiting for a thread.
runningintegerNumber of threads currently running.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
hostnamestringServer hostname. Attached to every event by default (events.attach_hostname).
environmentstringApplication environment, e.g. "production". Attached to every event by default (events.attach_environment).

Example

{
"event_type": "stats.puma",
"worker": 0,
"pool_capacity": 3,
"max_threads": 5,
"requests_count": 18342,
"backlog": 0,
"running": 5,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}